safecss_parse_post

This action is documented in modules/custom-css/custom-css.php.

Description

do_action( 'safecss_parse_post', (obj) $csstidy, (array) $warnings, (array) $args ); 

Parameters (3)

0. $csstidy (obj)
The csstidy object.
1. $warnings (array)
Array of warnings.
2. $args (array)
Array of custom CSS arguments.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'safecss_parse_post', $csstidy, $warnings, $args ); 
The following example is for adding a hook callback.
  1. // define the safecss_parse_post callback 
  2. function action_safecss_parse_post( $csstidy, $warnings, $args ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'safecss_parse_post', 'action_safecss_parse_post', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'safecss_parse_post', 'action_safecss_parse_post', 10, 3 ); 

Defined (1)

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

/modules/custom-css/custom-css.php  
  1. do_action( 'safecss_parse_post', $csstidy, $warnings, $args );