Submit
Path:
~
/
home
/
getwphos
/
public_html
/
dumpsterbm
/
wp-content
/
plugins
/
tatsu
/
includes
/
templates
/
sections
/
File Content:
index.php
<?php add_action( 'tatsu_register_templates', 'tatsu_register_builtin_section_templates' ); function tatsu_register_builtin_section_templates() { if ( ! is_tatsu_pro_active() ) { $templates_order = array( 'hero', 'content', 'features', 'team', 'testimonials', 'clients', 'pricing', 'cta', 'contact' ); foreach( $templates_order as $category_name ) { $category = TATSU_PLUGIN_DIR . 'includes/templates/website-templates/' . $category_name; foreach( glob( $category . '/*.jpg' ) as $template ) { $template_name = basename( $template, '.jpg' ); $img = TATSU_PLUGIN_URL . '/includes/templates/website-templates/' . $category_name . '/' . $template_name . '.jpg'; $exclude_category = array( 'contact', 'pricing' ); // Prepare template URL $template_src = TATSU_PLUGIN_DIR . 'includes/templates/website-templates/' . $category_name . '/' . $template_name . '.txt'; if ( in_array( $category_name, $exclude_category ) || ! file_exists( $template_src ) ) { $template_src = TATSU_PLUGIN_DIR . 'includes/templates/website-templates/template.txt'; } // Register tatsu_register_template( array( 'title' => $template_name, 'name' => $template_name, 'category' => array( $category_name ), 'type' => 'sections', 'img' => $img, 'src' => $template_src ) ); } } } } ?>
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
index.php
1622 bytes
0644
N4ST4R_ID | Naxtarrr