![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/www/wp-content/plugins/dt-the7-core/mods/logos/admin/metaboxes/ |
<?php /** * Logos post metaboxes. * @since presscore 0.1 */ // File Security Check if ( ! defined( 'ABSPATH' ) ) { exit; } /***********************************************************/ // Logos options /***********************************************************/ $prefix = '_dt_logo_options_'; $DT_META_BOXES[] = array( 'id' => 'dt_page_box-logos_options', 'title' => _x('Options', 'backend metabox', 'dt-the7-core'), 'pages' => array( 'dt_logos' ), 'context' => 'side', 'priority' => 'core', 'fields' => array( // Link array( 'name' => _x('Target link:', 'backend metabox', 'dt-the7-core'), 'id' => "{$prefix}link", 'type' => 'text', 'std' => '', ), // Uploader // IMAGE ADVANCED (WP 3.5+) array( 'name' => _x('Retina image:', 'backend metabox', 'dt-the7-core'), 'id' => "{$prefix}retina_logo", 'type' => 'image_advanced_mk2', 'max_file_uploads' => 1, ), ), );