[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
themes
/
astra
/
inc
/
customizer
/
astra-pro
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 class-astra-pro-customizer.php
1,454 B
SET
[ EDIT ]
|
[ DEL ]
📄 class-astra-pro-upgrade-link-configs.php
1,490 B
SET
[ EDIT ]
|
[ DEL ]
📄 index.php
111 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: class-astra-pro-upgrade-link-configs.php
<?php /** * Register customizer Aspra Pro Section. * * @package Astra * @link https://wpastra.com/ * @since Astra 1.0.10 */ if ( ! class_exists( 'Astra_Pro_Upgrade_Link_Configs' ) ) { /** * Register Button Customizer Configurations. */ class Astra_Pro_Upgrade_Link_Configs extends Astra_Customizer_Config_Base { /** * Register Button Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( array( 'name' => 'astra-pro', 'type' => 'section', 'ast_type' => 'astra-pro', 'title' => esc_html__( 'More Options Available in Astra Pro!', 'astra' ), 'pro_url' => astra_get_upgrade_url( 'pricing' ), 'priority' => 1, 'section_callback' => 'Astra_Pro_Customizer', ), array( 'name' => ASTRA_THEME_SETTINGS . '[astra-pro-section-notice]', 'type' => 'control', 'transport' => 'postMessage', 'control' => 'ast-hidden', 'section' => 'astra-pro', 'priority' => 0, ), ); return array_merge( $configurations, $_configs ); } } } new Astra_Pro_Upgrade_Link_Configs();