Changeset 3166863
- Timestamp:
- 10/11/2024 02:43:04 AM (18 months ago)
- Location:
- all-in-one-contact-buttons-wpshare247/trunk
- Files:
-
- 3 edited
-
all-in-one-contact-buttons-wpshare247.php (modified) (1 diff)
-
inc/class.setting.page.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
all-in-one-contact-buttons-wpshare247/trunk/all-in-one-contact-buttons-wpshare247.php
r3162163 r3166863 4 4 * Plugin URI: https://wpshare247.com/ 5 5 * Description: Floating click to contact buttons All-In-One 6 * Version: 1. 56 * Version: 1.6 7 7 * Author: Wpshare247.com 8 8 * Author URI: https://wpshare247.com -
all-in-one-contact-buttons-wpshare247/trunk/inc/class.setting.page.php
r3162163 r3166863 13 13 $this->option_group = self::FIELDS_GROUP; 14 14 $this->setting_page_url = admin_url('admin.php?page='.$this->slug); 15 15 16 add_action('admin_head', array( $this, 'admin_head' ) ); 16 17 add_action('admin_menu', array( $this, 'add_setting_page' ) ); … … 146 147 'hide_text_company_telegram','hide_text_icon_google_map', 147 148 'text_contact_bottom', 'zalo_oa_id', 'icons_animation', 148 'hide_hotline_number_only' 149 'hide_hotline_number_only', 150 'icon_youtube', 'text_icon_youtube', 'hide_icon_youtube' 149 151 ); 150 152 153 //---------------- 151 154 $arr_register_fields = apply_filters( 152 155 'ws247_aio_register_field', 153 156 $arr_register_fields 154 157 ); 155 158 156 159 if($arr_register_fields){ 157 160 foreach($arr_register_fields as $key){ … … 159 162 } 160 163 } 164 165 //---------------- 166 $arr_cust_sys_fields = array(); 167 $arr_cust_sys_fields = apply_filters( 168 'ws247_aio_register_sys_field', 169 $arr_cust_sys_fields 170 ); 171 if(is_array($arr_cust_sys_fields)){ 172 foreach($arr_cust_sys_fields as $key){ 173 $this->register_field($key); 174 $this->register_field('text_'.$key); 175 $this->register_field('hide_'.$key); 176 } 177 } 161 178 } 162 179 … … 206 223 'dashicons-location', 'Google', 'Địa chỉ công ty', 'Chỉ đường bản đồ', 207 224 'ws247-icon-map', '<i class="fas fa-map-marker" aria-hidden="true"></i>' 225 ), 226 227 'icon_youtube' 228 => array( 229 'dashicons-youtube', 'Youtube', 'https://www.youtube.com/@hocwordpress/videos', 'Kênh Youtube', 230 'ws247-icon-youtube', '<i class="fa-brands fa-youtube"></i>' 208 231 ), 209 232 ); … … 248 271 $datakey = $field; 249 272 $dashicons = $arr_item[0]; 273 if(!$dashicons && isset($arr_item[5])){ 274 $font_i = $arr_item[5]; 275 } 250 276 $label = $arr_item[1]; 251 277 $placeholder = $arr_item[2]; -
all-in-one-contact-buttons-wpshare247/trunk/readme.txt
r3162163 r3166863 6 6 Tested up to: 6.6.2 7 7 Requires PHP: 5.6 8 Stable tag: 1. 58 Stable tag: 1.6 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 148 148 * Update: link zalo, email, google 149 149 150 = 1.6 = 151 * Update: link youtube 152 150 153 == Upgrade Notice == 151 154
Note: See TracChangeset
for help on using the changeset viewer.