Server IP : 172.67.157.199 / Your IP : 3.22.75.12 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/chroot/var/www/wp-content/plugins/ultimate-dashboard/modules/login-customizer/sections/ |
Upload File : |
<?php /** * Custom CSS section of Login Customizer. * * @var $wp_customize This variable is brought from login-customizer.php file. * * @see wp-includes/class-wp-customize-manager.php * * @package Ultimate_Dashboard */ defined( 'ABSPATH' ) || die( "Can't access directly" ); use Udb\LoginCustomizer\Custom_Css_Setting; $custom_css_setting = new Custom_Css_Setting( $wp_customize, 'udb_login[custom_css]', array( 'capability' => 'edit_css', 'default' => '', ) ); $wp_customize->add_setting( $custom_css_setting ); $wp_customize->add_control( new WP_Customize_Code_Editor_Control( $wp_customize, 'udb_login[custom_css]', array( 'label' => __( 'Custom CSS', 'ultimate-dashboard' ), 'section' => 'udb_login_customizer_custom_css_js_section', 'settings' => 'udb_login[custom_css]', 'code_type' => 'text/css', 'input_attrs' => array( 'aria-describedby' => 'editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4', ), ) ) );