Description
The wsf_action_email_css filter hook can be use to modify the Send Email action CSS that is used in the standard email template for sending email notifications.
(Legacy filter hook name: wsf_get_email)
Usage
add_filter( 'wsf_action_email_css', 'my_hook_function', 10, 1 );
Parameters
$cssStringA string containing the CSS used in emails sent from the Send Email action.
Example
// Callback function for the wsf_action_email_css filter hook
function my_hook_function( $css ) {
// Your code here ...
// Return value
return $css;
}
// Add a callback function for the wsf_action_email_css filter hook
add_filter( 'wsf_action_email_css', 'my_hook_function', 10, 1 );
Source File
This hook can be found in:<plugin root>/includes/core/css/class-ws-form-css-email.php