PluginProbe ʕ •ᴥ•ʔ
Advanced Custom Fields: Extended / 0.7.0.3
Advanced Custom Fields: Extended v0.7.0.3
0.9.2.6 0.9.2.5 0.8.6 0.8.6.1 0.8.6.3 0.8.6.5 0.8.6.6 0.8.6.7 0.8.6.8 0.8.6.9 0.8.7 0.8.7.1 0.8.7.2 0.8.7.3 0.8.7.4 0.8.7.5 0.8.7.6 0.8.8 0.8.8.1 0.8.8.10 0.8.8.11 0.8.8.2 0.8.8.3 0.8.8.4 0.8.8.5 0.8.8.6 0.8.8.7 0.8.8.8 0.8.8.9 0.8.9 0.8.9.1 0.8.9.2 0.8.9.3 0.8.9.4 0.8.9.5 0.9 0.9.0.1 0.9.0.2 0.9.0.3 0.9.0.4 0.9.0.5 0.9.0.6 0.9.0.7 0.9.0.8 0.9.0.9 0.9.1 0.9.1.1 0.9.2 0.9.2.1 0.9.2.2 0.9.2.3 0.9.2.4 trunk 0.5 0.5.1 0.5.2 0.5.2.1 0.5.2.3 0.5.5 0.5.5.1 0.5.8 0.5.8.1 0.6 0.6.0.1 0.6.0.2 0.6.1 0.6.3 0.6.5 0.6.7 0.6.7.2 0.7 0.7.0.3 0.7.5 0.7.5.5 0.7.8 0.7.9 0.7.9.3 0.7.9.4 0.7.9.9.8 0.7.9.9.9 0.8 0.8.1 0.8.2 0.8.3 0.8.3.1 0.8.4 0.8.4.1 0.8.4.5 0.8.4.6 0.8.5 0.8.5.5
acf-extended / init.php
acf-extended Last commit date
assets 7 years ago includes 7 years ago acf-extended.php 7 years ago init.php 7 years ago readme.txt 7 years ago
init.php
55 lines
1 <?php
2
3 if(!defined('ABSPATH'))
4 exit;
5
6 /**
7 * ACFE: Is ACF Pro Active
8 */
9 function acfe_is_acf_pro(){
10
11 return class_exists('ACF') && defined('ACF_PRO') && defined('ACF_VERSION') && version_compare(ACF_VERSION, '5.7.10', '>=');
12
13 }
14
15 /**
16 * ACFE: ACF Pro Check
17 */
18 add_action('after_plugin_row_' . ACFE_BASENAME, 'acfe_plugin_row', 5, 3);
19 function acfe_plugin_row($plugin_file, $plugin_data, $status){
20
21 if(acfe_is_acf_pro())
22 return;
23
24 ?>
25
26 <style>
27 .plugins tr[data-plugin='<?php echo ACFE_BASENAME; ?>'] th,
28 .plugins tr[data-plugin='<?php echo ACFE_BASENAME; ?>'] td{
29 box-shadow:none;
30 }
31
32 <?php if(isset($plugin_data['update']) && !empty($plugin_data['update'])){ ?>
33
34 .plugins tr.acfe-plugin-tr td{
35 box-shadow:none !important;
36 }
37
38 .plugins tr.acfe-plugin-tr .update-message{
39 margin-bottom:0;
40 }
41
42 <?php } ?>
43 </style>
44
45 <tr class="plugin-update-tr active acfe-plugin-tr">
46 <td colspan="3" class="plugin-update colspanchange">
47 <div class="update-message notice inline notice-error notice-alt">
48 <p><?php _e('ACF Extended requires Advanced Custom Fields PRO (minimum: 5.7.10).', 'acfe'); ?></p>
49 </div>
50 </td>
51 </tr>
52
53 <?php
54
55 }