Description
The wpforms_form_pages_enqueue_styles
action is used to register and enqueues styles for forms created with the Form Pages addon.
Parameters
This action does not accept any parameters.
More Information
The action will register and enqueue dedicated stylesheets for forms created with the Form Pages addon.
Source
wpforms-form-pages/src/Frontend.php
Examples
/** * Enqueue your own stylesheet for the Form Pages addon * * @link https://wpforms.com/developers/wpforms_form_pages_enqueue_styles/ */ function wpfdev_formpages_custom_css() { wp_enqueue_style( 'style', get_stylesheet_directory_uri().'/name-of-your-css-file.css' ); } add_action( 'wpforms_form_pages_enqueue_styles', 'wpfdev_formpages_custom_css', 10 );