Sindbad~EG File Manager
<?php
/**
* Redux_Instances Functions
*
* @package Redux_Framework
* @subpackage Core
* @deprecated Maintained for backward compatibility with v3.
*/
/**
* Retrieve an instance of ReduxFramework
*
* @depreciated
*
* @param string $opt_name the defined opt_name as passed in $args.
*
* @return ReduxFramework ReduxFramework
*/
function get_redux_instance( string $opt_name ): ReduxFramework {
_deprecated_function( __FUNCTION__, '4.0', 'Redux::instance($opt_name)' );
return Redux::instance( $opt_name );
}
/**
* Retrieve all instances of ReduxFramework
* as an associative array.
*
* @depreciated
* @return array format ['opt_name' => $ReduxFramework]
*/
function get_all_redux_instances(): array {
_deprecated_function( __FUNCTION__, '4.0', 'Redux::all_instances()' );
return Redux::all_instances();
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists