- 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>
19 lines
355 B
PHP
Executable File
19 lines
355 B
PHP
Executable File
<?php
|
|
|
|
/**
|
|
* Class Thrive_Ult_Tab_Factory
|
|
* Based on $type a specific tab object is returned
|
|
*/
|
|
class Thrive_Ult_Tab_Factory {
|
|
public static function build( $type ) {
|
|
$class = "Thrive_Ult_";
|
|
$chunks = explode( "_", $type );
|
|
foreach ( $chunks as $chunk ) {
|
|
$class .= ucfirst( $chunk ) . "_";
|
|
}
|
|
$class .= "Tab";
|
|
|
|
return new $class;
|
|
}
|
|
}
|