Sanitize_comment_cookies Comment cookies sanitize

please click here for more wordpress cource

this action use for Fires when comment cookies are sanitized. Comment cookies sanitized because html is not sanitize so in wordpress we can use only this action hooks


// define the sanitize_comment_cookies callback 
function wpaccuracy_action_sanitize_comment_cookies( $sanitize_comment_cookies ) { 
    // make action magic happen here... 
// add the action 
add_action( 'sanitize_comment_cookies', 'wpaccuracy_action_sanitize_comment_cookies', 10, 1 ); 

You may also like...

Popular Posts

Leave a Reply

Your email address will not be published. Required fields are marked *