su/assets/custom_css

The shortcodes-ultimate su/assets/custom css hook.

Published Date - February 15, 2021

Description

$custom_css = (string) apply_filters( 'su/assets/custom_css', get_option( 'su_option_custom-css' ) );

Parameters

  1. $get_option


Usage

The following example is for adding a hook callback.

// define the su/assets/custom_css callback 
function custom_su_assets_custom_css( $get_option ){ 
   //custom code here
    return $get_option
} 

//add the action 
add_filter('su/assets/custom_css', 'custom_su/assets/custom_css', 10, 1)

Defined

The filter is defined in the following location(s).

shortcodes-ultimate/inc/core/assets.php

$custom_css = (string) apply_filters( 'su/assets/custom_css', get_option( 'su_option_custom-css' ) );