PluginProbe
QuadMenu – Mega Menu / 1.8.8
QuadMenu – Mega Menu v1.8.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 / lib / ReduxCore / inc / lib.redux_instances.php

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

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