Astra_Update_Heading_Font::set_level( int $level )

Set the heading level before configure runs.


Description


Parameters

$level

(int) (Required) Heading level 1-6.


Return

(void)


Source

File: inc/abilities/customizer/globals/typography/class-astra-update-heading-font.php

	public function set_level( $level ) {
		$level = absint( $level );

		if ( $level < 1 || $level > 6 ) {
			$level = 1;
		}

		$this->level = $level;
	}

User Contributed Notes

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