Home / Admin / Loading custom templates
Duplicate Snippet

Embed Snippet on Your Site

Loading custom templates

Add the code for your custom template to this snippet to load it in the plugin.

90+
Code Preview
php
<?php
/**
 * Plugin Name: WPForms Custom Templates
 * Description: This plugin loads custom form templates.
 * Version:     1.0.0
 */
 
/**
 * Load the templates.
 */
function wpf_load_custom_templates() {
 
    // Template code here
 
}
add_action( 'wpforms_loaded', 'wpf_load_custom_templates' );

Comments

Add a Comment