PluginProbe ʕ •ᴥ•ʔ
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 2.0.3
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v2.0.3
3.5.2 3.5.1 3.5.0 3.4.8 3.4.7 3.4.6 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5.1 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.6.1 1.6.7 1.7.0 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.2 1.7.2.1 1.7.2.2 1.7.3 1.7.4 1.7.5 1.7.5.1 1.7.5.2 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.8.0 1.8.0.1 1.8.1 1.8.2 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.0.1 1.9.1 1.9.2 1.9.3 1.9.4 1.9.4.1 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.0.1 2.0.1 2.0.2 2.0.3 2.0.3.1 2.0.4 2.0.4.1 2.0.5 2.0.6 2.0.7 2.0.8 2.0.8.1 2.0.9 3.0.0 3.0.0.1 3.0.1 3.0.2 3.0.3 3.0.3.1 3.0.4 3.0.4.1 3.0.4.2 3.0.5 3.0.5.1 3.0.5.2 3.0.6 3.0.6.1 3.0.7.1 3.0.8 3.0.8.1 3.0.9 3.0.9.1 3.0.9.2 3.0.9.3 3.0.9.4 3.0.9.5 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3.0 3.4.0 3.4.1 3.4.2 3.4.2.1 3.4.3 3.4.4 3.4.5 trunk 1.0 1.0.1 1.0.2 1.0.3
everest-forms / includes / admin / plugin-updates / class-evf-plugin-updates.php
everest-forms / includes / admin / plugin-updates Last commit date
class-evf-plugin-updates.php 8 years ago
class-evf-plugin-updates.php
57 lines
1 <?php
2 /**
3 * Class for displaying plugin warning notifications and determining 3rd party plugin compatibility.
4 *
5 * @package EverestForms/Admin
6 * @version 1.2.0
7 */
8
9 defined( 'ABSPATH' ) || exit;
10
11 /**
12 * EVF_Plugin_Updates Class.
13 */
14 class EVF_Plugin_Updates {
15
16 /**
17 * This is the header used by extensions to show requirements.
18 *
19 * @var string
20 */
21 const VERSION_REQUIRED_HEADER = 'EVF requires at least';
22
23 /**
24 * This is the header used by extensions to show testing.
25 *
26 * @var string
27 */
28 const VERSION_TESTED_HEADER = 'EVF tested up to';
29
30 /*
31 |--------------------------------------------------------------------------
32 | Data Helpers
33 |--------------------------------------------------------------------------
34 |
35 | Methods for getting & manipulating data.
36 */
37
38 /**
39 * Get plugins that have a valid value for a specific header.
40 *
41 * @param string $header Plugin header to search for.
42 * @return array Array of plugins that contain the searched header.
43 */
44 protected function get_plugins_with_header( $header ) {
45 $plugins = get_plugins();
46 $matches = array();
47
48 foreach ( $plugins as $file => $plugin ) {
49 if ( ! empty( $plugin[ $header ] ) ) {
50 $matches[ $file ] = $plugin;
51 }
52 }
53
54 return apply_filters( 'everest_forms_get_plugins_with_header', $matches, $header, $plugins );
55 }
56 }
57