Server : Apache System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64 User : medchoco ( 2906) PHP Version : 8.3.16 Disable Function : mail Directory : /home/medchoco/www/wp-content/plugins/redux-framework/redux-core/inc/lib/ |
Upload File : |
<?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 object ReduxFramework */ function get_redux_instance( string $opt_name ) { _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(); }