Astra_Get_Body_Font::execute( array $args )

Execute the ability.


Description


Parameters

$args

(array) (Required) Input arguments.


Return

(array) Result array.


Source

File: inc/abilities/customizer/globals/typography/class-astra-get-body-font.php

	public function execute( $args ) {
		return Astra_Abilities_Response::success(
			__( 'Retrieved body font settings successfully.', 'astra' ),
			array(
				'font_family' => astra_get_option( 'body-font-family', '' ),
				'font_weight' => astra_get_option( 'body-font-weight', '' ),
				'font_size'   => astra_get_option( 'font-size-body', array() ),
				'font_extras' => astra_get_option( 'body-font-extras', array() ),
			)
		);
	}


User Contributed Notes

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