Changes between Initial Version and Version 1 of Ticket #53801, comment 38
- Timestamp:
- 09/21/2021 06:59:23 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53801, comment 38
initial v1 17 17 wp_enqueue_script( 'dev-admin-widgets' ); 18 18 // OR. 19 add_action( 'admin_enqueue_scripts', 'dev_admin_widgets_enqueue ' );19 add_action( 'admin_enqueue_scripts', 'dev_admin_widgets_enqueue_func' ); 20 20 } else { 21 21 wp_enqueue_script( 'dev-admin-other' ); 22 22 // OR. 23 add_action( 'admin_enqueue_scripts', 'dev_admin_other_enqueue ' );23 add_action( 'admin_enqueue_scripts', 'dev_admin_other_enqueue_func' ); 24 24 } 25 25 } else { 26 26 wp_enqueue_script( 'dev-frontend' ); 27 27 // OR. 28 add_action( 'wp_enqueue_scripts', 'dev_frontend_enqueue ' );28 add_action( 'wp_enqueue_scripts', 'dev_frontend_enqueue_func' ); 29 29 } 30 30 }