views/noticias/wp-content/themes/supermag/acmethemes/core.php
/**

 * Enqueue admin scripts and styles.

 */
Enqueue admin scripts and styles.
Enqueue admin scripts and styles .
function supermag_admin_scripts( $hook ) {
	if ( 'widgets.php' == $hook || supermag_is_edit_page() ) {
		wp_enqueue_media();
		wp_enqueue_script( 'supermag-widgets-script', get_template_directory_uri() . '/assets/js/acme-widget.js', array( 'jquery' ), '1.0.0' );
	}
}
function supermag_admin_scripts ( $ hook ) { if ( 'widgets.php' == $ hook || supermag_is_edit_page ( ) ) { wp_enqueue_media ( ) ; wp_enqueue_script ( 'supermag-widgets-script' , get_template_directory_uri ( ) . '/assets/js/acme-widget.js' , array ( 'jquery' ) , '1.0.0' ) ; } }
Enqueue admin scripts and styles.
Enqueue admin scripts and styles .