Astra_Addon_Builder_Helper::__get( string $property_name )
Callback of external properties.
Description
Parameters
- $property_name
-
(string) (Required) property name.
Return
(false)
Source
File: classes/builder/class-astra-addon-builder-helper.php
public function __get( $property_name ) { if ( isset( self::$cached_properties[ $property_name ] ) ) { return self::$cached_properties[ $property_name ]; } if ( property_exists( 'Astra_Addon_Builder_Helper', $property_name ) ) { // Directly override theme helper properties. $return_value = self::${$property_name}; } else { $return_value = property_exists( 'Astra_Builder_Helper', $property_name ) ? Astra_Builder_Helper::${$property_name} : false; } self::$cached_properties[ $property_name ] = $return_value; return $return_value; }
Expand full source code Collapse full source code View on Trac