s2_jqueryui_css
The Subscribe2 s2 jqueryui css hook.
Description
Parameters (1)
- 0. $css (unknown)
- The css.
Usage
- To run the hook, copy the example below.
- $css = apply_filters( 's2_jqueryui_css', $css );
- if ( !empty( $css ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the s2_jqueryui_css callback
- function filter_s2_jqueryui_css( $css ) {
- // make filter magic happen here...
- return $css;
- };
- // add the filter
- add_filter( 's2_jqueryui_css', 'filter_s2_jqueryui_css', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 's2_jqueryui_css', 'filter_s2_jqueryui_css', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /classes/class-s2-frontend.php
- wp_register_style('jquery-ui-style', apply_filters('s2_jqueryui_css', $css));