Contents
Description
The wsf_conversational_enqueue_styles action hook can be used to enqueue custom CSS for conversational forms.
Usage
add_action( 'wsf_conversational_enqueue_styles', 'my_hook_function', 10, 0 );
Example
// Callback function for the wsf_conversational_enqueue_styles action hook function my_hook_function() { // CSS file URL $css_file_url = sprintf( '%s/conversational-form.css', get_bloginfo( 'template_directory' ) ); // Enqueue CSS file wp_enqueue_style( 'conversational-form', $css_file_url ); } // Add a callback function for the wsf_conversational_enqueue_styles action hook add_action( 'wsf_conversational_enqueue_styles', 'my_hook_function', 10, 0 );
Source File
This hook can be found in:<plugin root>/public/class-ws-form-conversational.php