cache->asset_path('styles', 'noatice.css'), array(), ACF_Stylizer_Constants::VERSION); wp_enqueue_style('acfs-style', $acfs->cache->asset_path('styles', 'style.css'), array('noatice'), ACF_Stylizer_Constants::VERSION); wp_enqueue_script('noatice', $acfs->cache->asset_path('scripts', 'noatice.js'), array(), ACF_Stylizer_Constants::VERSION, true); wp_enqueue_script('acfs-script', $acfs->cache->asset_path('scripts', 'script.js'), array('noatice', 'postbox'), ACF_Stylizer_Constants::VERSION, true); wp_localize_script ( 'acfs-script', 'acfs_script_options', array ( 'admin_page' => $acfs->cache->admin_page, 'noatices' => ACF_Stylizer_Noatice::output(), 'option_name' => $acfs->cache->option_name, 'token' => ACF_Stylizer_Constants::TOKEN, 'strings' => array ( 'save_alert' => __('The changes you made will be lost if you navigate away from this page.', 'acf-stylizer') ), 'urls' => array ( 'ajax' => admin_url('admin-ajax.php'), 'current' => remove_query_arg($acfs->cache->get_remove_query_args()) ) ) ); } }