Astra_Addon_Builder_Helper::astra_addon_get_addon_helper_static( string $prop_name )

Callback to get addon’s static property.


Description


Parameters

$prop_name

(string) (Required) function name.


Return

(mixed)


Source

File: classes/builder/class-astra-addon-builder-helper.php

	public static function astra_addon_get_addon_helper_static( $prop_name ) {
		$addon_static_sets = array(
			'component_count_array' => self::$component_count_array,
			'component_limit'       => self::$component_limit,
			'num_of_header_divider' => self::$num_of_header_divider,
			'num_of_footer_divider' => self::$num_of_footer_divider,
		);
		return isset( $addon_static_sets[ $prop_name ] ) ? $addon_static_sets[ $prop_name ] : $prop_name;
	}


User Contributed Notes

You must log in before being able to contribute a note or feedback.