HEX
Server: Apache
System: Linux p3plzcpnl505785.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: xuvi7odgswsg (6947073)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //home/xuvi7odgswsg/www/wp-content/plugins/bbpowerpack/assets/js/admin.js
;(function($) {

	PPAdminNotices = {
		init: function() {
			var self = this;
			if ( $('.pp-latest-update-notice').length > 0 ) {
				$('.pp-latest-update-notice').on('click', '.notice-dismiss', function() {
					self.close();
				});
			}
		},

		close: function() {
			$.ajax({
				type: 'post',
				url: ajaxurl,
				data: {
					action: 'pp_notice_close',
					notice: 'latest_update',
					nonce: $('.pp-latest-update-notice').data('nonce')
				},
				success: function(res) {
					if ( 'object' === typeof res ) {
						if ( res.error ) {
							alert( res.data );
							return;
						}
					}
					$('.pp-latest-update-notice').slideUp(200, function() {
						$(this).remove();
					});
				}
			});
		}
	};

	PPAdminNotices.init();

})(jQuery);