PluginProbe
QuadMenu – Mega Menu / 3.3.8
QuadMenu – Mega Menu v3.3.8
3.3.8 3.3.7 3.3.6 trunk 1.8.4 1.8.5 1.8.7 1.8.8 1.8.9 1.9.0 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 88 releases
quadmenu / redux / ReduxCore / inc / lib.redux_instances.php

lib.redux_instances.php in QuadMenu – Mega Menu 3.3.8, at redux/ReduxCore/inc/lib.redux_instances.php

35 lines 805 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * ReduxFrameworkInstancesLegacy Functions
5 *
6 * @package Redux_Framework
7 * @subpackage Core
8 */
9 if ( ! function_exists( 'get_redux_instance' ) ) {
10
11 /**
12 * Retreive an instance of ReduxFrameworkLegacy
13 *
14 * @param string $opt_name the defined opt_name as passed in $args
15 *
16 * @return object ReduxFrameworkLegacy
17 */
18 function get_redux_instance( $opt_name ) {
19 return ReduxFrameworkInstancesLegacy::get_instance( $opt_name );
20 }
21 }
22
23 if ( ! function_exists( 'get_all_redux_instances' ) ) {
24
25 /**
26 * Retreive all instances of ReduxFrameworkLegacy
27 * as an associative array.
28 *
29 * @return array format ['opt_name' => $ReduxFrameworkLegacy]
30 */
31 function get_all_redux_instances() {
32 return ReduxFrameworkInstancesLegacy::get_all_instances();
33 }
34 }
35