Файловый менеджер - Редактировать - /home/avadvi5/public_html/wp-content/plugins/code4rest-pro/dist/infinite-scroll/infinite-options.php
Ðазад
<?php /** * Woocommerce Trigger Cart when Product added Options. * * @package Code4rest_Pro */ namespace Code4rest_Pro; use Code4rest\Theme_Customizer; use function Code4rest\code4rest; Theme_Customizer::add_settings( array( 'infinite_posts' => array( 'control_type' => 'code4rest_switch_control', 'section' => 'infinite_scroll', 'priority' => 11, 'default' => code4rest()->default( 'infinite_posts' ), 'label' => esc_html__( 'Infinite Scroll for Blog?', 'code4rest-pro' ), 'input_attrs' => array( 'help' => esc_html__( 'This will use apply to all post archives.', 'code4rest-pro' ), ), 'transport' => 'refresh', ), // 'infinite_single_posts' => array( // 'control_type' => 'code4rest_switch_control', // 'section' => 'infinite_scroll', // 'priority' => 11, // 'default' => code4rest()->default( 'infinite_single_posts' ), // 'label' => esc_html__( 'Infinite Scroll for Single Blog Posts?', 'code4rest-pro' ), // 'input_attrs' => array( // 'help' => esc_html__( 'This will use apply to single posts.', 'code4rest-pro' ), // ), // 'transport' => 'refresh', // ), 'infinite_search' => array( 'control_type' => 'code4rest_switch_control', 'section' => 'infinite_scroll', 'priority' => 11, 'default' => code4rest()->default( 'infinite_search' ), 'label' => esc_html__( 'Infinite Scroll for Search?', 'code4rest-pro' ), 'transport' => 'refresh', ), 'infinite_products' => array( 'control_type' => 'code4rest_switch_control', 'section' => 'infinite_scroll', 'priority' => 11, 'default' => code4rest()->default( 'infinite_products' ), 'label' => esc_html__( 'Infinite Scroll for Products?', 'code4rest-pro' ), 'transport' => 'refresh', ), 'infinite_custom' => array( 'control_type' => 'code4rest_switch_control', 'section' => 'infinite_scroll', 'priority' => 11, 'default' => code4rest()->default( 'infinite_custom' ), 'label' => esc_html__( 'Infinite Scroll for Custom Post Types?', 'code4rest-pro' ), 'input_attrs' => array( 'help' => esc_html__( 'This will use apply to all custom post archives.', 'code4rest-pro' ), ), 'transport' => 'refresh', ), 'infinite_end_of_content' => array( 'control_type' => 'code4rest_text_control', 'sanitize' => 'sanitize_text_field', 'section' => 'infinite_scroll', 'priority' => 12, 'label' => esc_html__( 'End of Content Text', 'code4rest-pro' ), 'default' => code4rest()->default( 'infinite_end_of_content' ), 'transport' => 'refresh', ), ) );
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка