| 1 |
<?php |
| 2 |
|
| 3 |
if ( ! defined( 'ABSPATH' ) ) { |
| 4 |
exit; |
| 5 |
} |
| 6 |
|
| 7 |
if ( ! class_exists( 'reduxLegacyCoreRequired' ) ) { |
| 8 |
class reduxLegacyCoreRequired { |
| 9 |
public $parent = null; |
| 10 |
|
| 11 |
public function __construct( $parent ) { |
| 12 |
$this->parent = $parent; |
| 13 |
ReduxLegacy_Functions::$_parent = $parent; |
| 14 |
|
| 15 |
/** |
| 16 |
* action 'redux/page/{opt_name}/' |
| 17 |
*/ |
| 18 |
do_action( "redux/page/{$parent->args['opt_name']}/" ); |
| 19 |
} |
| 20 |
} |
| 21 |
} |
| 22 |
|