Filter by type:
Search
Skip to content
Browse: Home / Classes / Astra_AMP / Astra_AMP::render_amp_states()

Astra_AMP::render_amp_states()

Add amp states to the dom.


Description


Source

File: inc/compatibility/class-astra-amp.php

		public function render_amp_states() {
			echo '<amp-state id="astraAmpMenuExpanded">';
			echo '<script type="application/json">false</script>';
			echo '</amp-state>';
		}

Expand full source code Collapse full source code View on Trac


User Contributed Notes

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