Astra_Addon_Builder_Footer::__call( string $func, array $params )
Callback when method not exists.
Description
Parameters
- $func
-
(string) (Required) function name.
- $params
-
(array) (Required) function parameters.
Source
File: classes/builder/markup/class-astra-addon-builder-footer.php
public function __call( $func, $params ) { if ( in_array( $func, self::$methods, true ) ) { if ( 0 === strpos( $func, 'footer_divider_' ) ) { $index = (int) substr( $func, strrpos( $func, '_' ) + 1 ); if ( $index ) { Astra_Addon_Builder_UI_Controller::render_divider_markup( str_replace( '_', '-', $func ) ); } } } }
Expand full source code Collapse full source code View on Trac