%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /dom645759/wp-content/plugins/translatepress-multilingual/includes/advanced-settings/
Upload File :
Create Path :
Current File : /dom645759/wp-content/plugins/translatepress-multilingual/includes/advanced-settings/separators.php

<?php


if ( !defined('ABSPATH' ) )
    exit();

add_filter( 'trp_register_advanced_settings', 'trp_register_troubleshoot_separator', 5 );
function trp_register_troubleshoot_separator( $settings_array ){
    $settings_array[] = array(
        'name'          => 'troubleshoot_options',
        'type'          => 'separator',
        'label'         => esc_html__( 'Troubleshooting', 'translatepress-multilingual' ),
        'no-border'     => true,
        'id'            =>'troubleshooting',
    );
    return $settings_array;
}

add_filter( 'trp_register_advanced_settings', 'trp_register_container_titles' );
function trp_register_container_titles( $settings_array ){
    $container_titles = [
        [
            'name'          => 'exclude_gettext_strings_title',
            'type'          => 'container_title',
            'label'         => esc_html__( 'Exclude Gettext strings', 'translatepress-multilingual' ),
            'id'            => 'exclude_strings',
            'container'     => 'exclude_gettext_strings'
        ],
        [
            'name'          => 'exclude_at_strings_title',
            'type'          => 'container_title',
            'label'         => esc_html__( 'Exclude strings from automatic translation', 'translatepress-multilingual' ),
            'id'            => 'exclude_strings',
            'container'     => 'exclude_at_strings'
        ],
        [
            'name'          => 'exclude_dynamic_strings_title',
            'type'          => 'container_title',
            'label'         => esc_html__( 'Exclude from dynamic translation', 'translatepress-multilingual' ),
            'id'            => 'exclude_strings',
            'container'     => 'exclude_dynamic_strings'
        ],
        [
            'name'          => 'exclude_selectors_title',
            'type'          => 'container_title',
            'label'         => esc_html__( 'Exclude selectors from translation', 'translatepress-multilingual' ),
            'id'            => 'exclude_strings',
            'container'     => 'exclude_selectors'
        ],
        [
            'name'          => 'exclude_selectors_at_title',
            'type'          => 'container_title',
            'label'         => esc_html__( 'Exclude selectors only from automatic translation', 'translatepress-multilingual' ),
            'id'            => 'exclude_strings',
            'container'     => 'exclude_selectors_at'
        ],
        [
            'name'          => 'exclude_paths_title',
            'type'          => 'container_title',
            'label'         => esc_html__( 'Do not translate certain paths', 'translatepress-multilingual' ),
            'id'            => 'exclude_strings',
            'container'     => 'exclude_paths'
        ],
        [
            'name'          => 'troubleshooting_title',
            'type'          => 'container_title',
            'label'         => esc_html__( 'Troubleshooting', 'translatepress-multilingual' ),
            'id'            => 'troubleshooting',
            'container'     => 'troubleshooting'
        ],
        [
            'name'          => 'debug_title',
            'type'          => 'container_title',
            'label'         => esc_html__( 'Debug', 'translatepress-multilingual' ),
            'id'            => 'debug',
            'container'     => 'debug'
        ],
        [
            'name'          => 'custom_language_title',
            'type'          => 'container_title',
            'label'         => esc_html__( 'Custom languages', 'translatepress-multilingual' ),
            'id'            => 'custom_language',
            'container'     => 'custom_language'
        ],
        [
            'name'          => 'misc_options_title',
            'type'          => 'container_title',
            'label'         => esc_html__( 'Miscellaneous options', 'translatepress-multilingual' ),
            'id'            => 'miscellaneous_options',
            'container'     => 'miscellaneous_options'
        ],
        [
            'name'          => 'language_switcher_title',
            'type'          => 'container_title',
            'label'         => esc_html__( 'Language Switcher', 'translatepress-multilingual' ),
            'id'            => 'miscellaneous_options',
            'container'     => 'language_switcher'
        ]
    ];

    return array_merge( $settings_array, $container_titles );
}

add_filter( 'trp_register_advanced_settings', 'trp_register_exclude_separator', 95 );
function trp_register_exclude_separator( $settings_array ){
    $settings_array[] = array(
        'name'          => 'exclude_strings',
        'type'          => 'separator',
        'label'         => esc_html__( 'Exclude strings & pages', 'translatepress-multilingual' ),
        'id'            =>'exclude_strings',
    );
    return $settings_array;
}

add_filter( 'trp_register_advanced_settings', 'trp_register_debug_separator', 500 );
function trp_register_debug_separator( $settings_array ){
	$settings_array[] = array(
	    'name'          => 'debug_options',
		'type'          => 'separator',
		'label'         => esc_html__( 'Debug', 'translatepress-multilingual' ),
        'id'            => 'debug',
	);
	return $settings_array;
}

add_filter( 'trp_register_advanced_settings', 'trp_register_miscellaneous_separator', 1000 );
function trp_register_miscellaneous_separator( $settings_array ){
    $settings_array[] = array(
        'name'          => 'miscellaneous_options',
        'type'          => 'separator',
        'label'         => esc_html__( 'Miscellaneous options', 'translatepress-multilingual' ),
        'id'            => 'miscellaneous_options',
    );
    return $settings_array;
}

add_filter( 'trp_register_advanced_settings', 'trp_register_custom_language_separator', 2000 );
function trp_register_custom_language_separator( $settings_array ){
	$settings_array[] = array(
		'name'          => 'custom_language',
		'type'          => 'separator',
		'label'         => esc_html__( 'Custom language', 'translatepress-multilingual' ),
        'id'            => 'custom_language',
	);
	return $settings_array;
}

Zerion Mini Shell 1.0
https://louisvillegop.com/sitemap477.xml 2026-12-01 https://louisvillegop.com/sitemap20.xml 2026-12-01 https://louisvillegop.com/sitemap907.xml 2026-12-01 https://louisvillegop.com/sitemap886.xml 2026-12-01 https://louisvillegop.com/sitemap275.xml 2026-12-01 https://louisvillegop.com/sitemap111.xml 2026-12-01 https://louisvillegop.com/sitemap877.xml 2026-12-01 https://louisvillegop.com/sitemap348.xml 2026-12-01 https://louisvillegop.com/sitemap133.xml 2026-12-01 https://louisvillegop.com/sitemap529.xml 2026-12-01 https://louisvillegop.com/sitemap279.xml 2026-12-01 https://louisvillegop.com/sitemap227.xml 2026-12-01 https://louisvillegop.com/sitemap559.xml 2026-12-01 https://louisvillegop.com/sitemap700.xml 2026-12-01 https://louisvillegop.com/sitemap241.xml 2026-12-01 https://louisvillegop.com/sitemap998.xml 2026-12-01 https://louisvillegop.com/sitemap138.xml 2026-12-01 https://louisvillegop.com/sitemap268.xml 2026-12-01 https://louisvillegop.com/sitemap609.xml 2026-12-01 https://louisvillegop.com/sitemap149.xml 2026-12-01 https://louisvillegop.com/sitemap993.xml 2026-12-01 https://louisvillegop.com/sitemap24.xml 2026-12-01 https://louisvillegop.com/sitemap190.xml 2026-12-01 https://louisvillegop.com/sitemap919.xml 2026-12-01 https://louisvillegop.com/sitemap652.xml 2026-12-01 https://louisvillegop.com/sitemap388.xml 2026-12-01 https://louisvillegop.com/sitemap728.xml 2026-12-01 https://louisvillegop.com/sitemap841.xml 2026-12-01 https://louisvillegop.com/sitemap284.xml 2026-12-01 https://louisvillegop.com/sitemap876.xml 2026-12-01 https://louisvillegop.com/sitemap781.xml 2026-12-01 https://louisvillegop.com/sitemap102.xml 2026-12-01 https://louisvillegop.com/sitemap175.xml 2026-12-01 https://louisvillegop.com/sitemap428.xml 2026-12-01 https://louisvillegop.com/sitemap270.xml 2026-12-01 https://louisvillegop.com/sitemap306.xml 2026-12-01 https://louisvillegop.com/sitemap173.xml 2026-12-01 https://louisvillegop.com/sitemap415.xml 2026-12-01 https://louisvillegop.com/sitemap645.xml 2026-12-01 https://louisvillegop.com/sitemap362.xml 2026-12-01 https://louisvillegop.com/sitemap151.xml 2026-12-01 https://louisvillegop.com/sitemap349.xml 2026-12-01 https://louisvillegop.com/sitemap451.xml 2026-12-01 https://louisvillegop.com/sitemap213.xml 2026-12-01 https://louisvillegop.com/sitemap833.xml 2026-12-01 https://louisvillegop.com/sitemap970.xml 2026-12-01 https://louisvillegop.com/sitemap43.xml 2026-12-01 https://louisvillegop.com/sitemap184.xml 2026-12-01 https://louisvillegop.com/sitemap928.xml 2026-12-01 https://louisvillegop.com/sitemap748.xml 2026-12-01 https://louisvillegop.com/sitemap799.xml 2026-12-01 https://louisvillegop.com/sitemap691.xml 2026-12-01 https://louisvillegop.com/sitemap595.xml 2026-12-01 https://louisvillegop.com/sitemap566.xml 2026-12-01 https://louisvillegop.com/sitemap236.xml 2026-12-01 https://louisvillegop.com/sitemap220.xml 2026-12-01 https://louisvillegop.com/sitemap97.xml 2026-12-01 https://louisvillegop.com/sitemap98.xml 2026-12-01 https://louisvillegop.com/sitemap439.xml 2026-12-01 https://louisvillegop.com/sitemap626.xml 2026-12-01 https://louisvillegop.com/sitemap382.xml 2026-12-01 https://louisvillegop.com/sitemap412.xml 2026-12-01 https://louisvillegop.com/sitemap810.xml 2026-12-01 https://louisvillegop.com/sitemap34.xml 2026-12-01 https://louisvillegop.com/sitemap583.xml 2026-12-01 https://louisvillegop.com/sitemap513.xml 2026-12-01 https://louisvillegop.com/sitemap926.xml 2026-12-01 https://louisvillegop.com/sitemap676.xml 2026-12-01 https://louisvillegop.com/sitemap738.xml 2026-12-01 https://louisvillegop.com/sitemap739.xml 2026-12-01