Files
roi-theme/wp-content/plugins/wp-marketing-automations-pro/modules/breakdance-froms/class-bwfan-breakdance-forms-source.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

39 lines
896 B
PHP
Executable File

<?php
/**
* BWFAN_Breakdance_Forms_Source
*/
class BWFAN_Breakdance_Forms_Source extends BWFAN_Source {
private static $instance = null;
public function __construct() {
$this->event_dir = __DIR__;
$this->nice_name = __( 'Breakdance Forms', 'wp-marketing-automations-pro' );
$this->group_name = __( 'Forms', 'wp-marketing-automations-pro' );
$this->group_slug = 'forms';
$this->priority = 100;
}
/**'
* Ensures only one instance of the class is loaded or can be loaded.
*
* @return BWFAN_Breakdance_Forms_Source|nul
*
*/
public static function get_instance() {
if ( null === self::$instance ) {
self::$instance = new self();
}
return self::$instance;
}
}
/**
* Register this as a source.
*/
if ( function_exists( 'bwfan_is_breakdance_active' ) && bwfan_is_breakdance_active() ) {
BWFAN_Load_Sources::register( 'BWFAN_Breakdance_Forms_Source' );
}