/home/techb158/public_html/wp-content/plugins/wpforms-lite/includes
NameSizeModeActions
admin/-0755rm
emails/-0755rm
fields/-0755rm
functions/-0755rm
providers/-0755rm
templates/-0755rm
class-db.php239780666editdlrm
class-fields.php16170666editdlrm
class-form.php431140666editdlrm
class-install.php56920666editdlrm
class-process.php718160666editdlrm
class-providers.php18890666editdlrm
class-templates.php12940666editdlrm
class-widget.php61480666editdlrm
compat.php8140666editdlrm
deprecated.php141990666editdlrm
functions-list.php1520666editdlrm
functions.php11050666editdlrm
integrations.php33440666editdlrm
Edit: /home/techb158/public_html/wp-content/plugins/wpforms-lite/includes/class-templates.php (1294B)
init(); } /** * Load and init the base form template class. * * @since 1.2.8 */ public function init() { // Parent class template. require_once WPFORMS_PLUGIN_DIR . 'includes/templates/class-base.php'; // Load default templates on WP init. add_action( 'init', [ $this, 'load' ] ); } /** * Load default form templates. * * @since 1.0.0 */ public function load() { $templates = apply_filters( 'wpforms_load_templates', [ 'blank', 'simple-contact-form', ] ); foreach ( $templates as $template ) { $template = sanitize_file_name( $template ); if ( file_exists( WPFORMS_PLUGIN_DIR . 'includes/templates/class-' . $template . '.php' ) ) { require_once WPFORMS_PLUGIN_DIR . 'includes/templates/class-' . $template . '.php'; } elseif ( file_exists( WPFORMS_PLUGIN_DIR . 'pro/includes/templates/class-' . $template . '.php' ) && wpforms()->is_pro() ) { require_once WPFORMS_PLUGIN_DIR . 'pro/includes/templates/class-' . $template . '.php'; } } } } new WPForms_Templates;