/home/techb158/l2hypotheques.com/wp-content/plugins/wpforms/includes
NameSizeModeActions
admin/-0755rm
emails/-0755rm
fields/-0755rm
functions/-0755rm
providers/-0755rm
templates/-0755rm
class-db.php117100644editdlrm
class-fields.php20800644editdlrm
class-form.php265590644editdlrm
class-install.php42800644editdlrm
class-process.php377510644editdlrm
class-providers.php11490644editdlrm
class-templates.php12520644editdlrm
class-widget.php54770644editdlrm
compat.php22240644editdlrm
deprecated.php64040644editdlrm
functions-list.php1520644editdlrm
functions.php9120644editdlrm
integrations.php29410644editdlrm
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/wpforms/includes/class-templates.php (1252B)
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;