Beispiel #1
0
/**
 * Registers admin styles.
 *
 * @since  1.0.0
 * @access public
 * @return void
 */
function carelib_admin_register_styles()
{
    $suffix = carelib_get_suffix();
    wp_register_style('carelib-admin', carelib_get_css_uri("carelib-admin{$suffix}.css"), null, CARELIB_VERSION);
    wp_register_style('carelib-dashboard', carelib_get_css_uri("carelib-dashboard{$suffix}.css"), null, CARELIB_VERSION);
}
Beispiel #2
0
/**
 * Register customizer controls styles.
 *
 * @since  1.0.0
 * @access public
 * @return void
 */
function carelib_customize_register_controls_styles()
{
    $suffix = carelib_get_suffix();
    wp_register_style('carelib-customize-controls', carelib_get_css_uri("customize-controls{$suffix}.css"), array(), CARELIB_VERSION);
}