Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function emodal_jobs_check( $hook ) {
- if ('post-new.php' != $hook && 'edit.php' != $hook ) {
- return;
- }
- wp_enqueue_script('emodal-jobs-js', '/wp-content/themes/murdockmartell-child/js/emodal-jobs.js');
- }
- add_action('admin_enqueue_scripts', 'emodal_jobs_check');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement