Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

register style wordpress

function wp_register_style( $handle, $src, $deps = array(), $ver = false, $media = 'all' ) {
    _wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );
 
    return wp_styles()->add( $handle, $src, $deps, $ver, $media );
}
Source by developer.wordpress.org #
 
PREVIOUS NEXT
Tagged: #register #style #wordpress
ADD COMMENT
Topic
Name
1+2 =