register style wordpress

109

wp_register_style( string $handle, string|bool $src, string[] $deps = array(), string|bool|null $ver = false, string $media = 'all' )
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 );
}

Comments

Submit
0 Comments