Astra_Get_Paragraph_Margin::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-paragraph-margin.php

	public function execute( $args ) {
		$margin_bottom = floatval( astra_get_option( 'para-margin-bottom', 1.6 ) );

		return Astra_Abilities_Response::success(
			/* translators: %s: margin bottom value */
			sprintf( __( 'Current paragraph margin bottom: %s em', 'astra' ), $margin_bottom ),
			array(
				'margin_bottom' => $margin_bottom,
			)
		);
	}


User Contributed Notes

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