HEX
Server: Apache
System: Linux p3plzcpnl506847.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: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/slfopp7cb1df/www/home/wp-content/plugins/easy-pricing-tables/assets/ui/js/editor-script.js
$ = jQuery
$( document ).ready( function(){

	if( fca_ept.id == 'edit-easy-pricing-table' ){

		// hide notice until loaded
		$( '#fca-ept-fullscreen-notice' ).css( 'display', 'block')

		// set 'skip for now' to close screen
		$( '#fca-ept-hide-notice' ).click( function(){
			// never show again and close this
			$forever_dismiss = window.location.href + '&dh_ptp_forever_dismiss_notice'
			window.location = $forever_dismiss
			$( '.notice-dismiss' ).click()
		} )

	}

	// Change EPT sidebar Add New url
	$add_new = $( 'a[href="post-new.php?post_type=easy-pricing-table"]' )
	$add_new.attr( 'href', $add_new.attr( 'href' ) + '&dh_ptp_new_gutenberg_table' )

	// Change main plugin url to All Pricing Tables
	$main_plugin = $( 'a[href="admin.php?page=ept3-list"]' )
	$main_plugin.attr( 'href', 'edit.php?post_type=easy-pricing-table&page=ept3-list' )

} )