Astra_Get_Background_Colors::execute( array $args )

Execute the ability.


Description


Parameters

$args

(array) (Required) Input arguments.


Return

(array) Result array.


Source

File: inc/abilities/customizer/globals/colors/class-astra-get-background-colors.php

	public function execute( $args ) {
		$site_background    = astra_get_option( 'site-layout-outside-bg-obj-responsive', array() );
		$content_background = astra_get_option( 'content-bg-obj-responsive', array() );

		return Astra_Abilities_Response::success(
			__( 'Retrieved background color settings successfully.', 'astra' ),
			array(
				'site_background'    => $site_background,
				'content_background' => $content_background,
			)
		);
	}


User Contributed Notes

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