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 ) );
					}
				}
			}
		}


User Contributed Notes

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