safecss_parse_pre
This action is documented in modules/custom-css/custom-css.php.
Description
Parameters (3)
- 0. $csstidy (unknown)
- The csstidy.
- 1. $css (unknown)
- The css.
- 2. $args (unknown)
- The args.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'safecss_parse_pre', $csstidy, $css, $args );
- The following example is for adding a hook callback.
- // define the safecss_parse_pre callback
- function action_safecss_parse_pre( $csstidy, $css, $args ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'safecss_parse_pre', 'action_safecss_parse_pre', 10, 3 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'safecss_parse_pre', 'action_safecss_parse_pre', 10, 3 );
Defined (2)
The action is defined in the following location(s).
- /modules/custom-css/custom-css-4.7.php
- do_action( 'safecss_parse_pre', $csstidy, $css, $args );
- /modules/custom-css/custom-css.php
- do_action( 'safecss_parse_pre', $csstidy, $css, $args );