Astra_AMP::toggle_button_markup( String $item_output, WP_Post $item )

Set AMP State for eeach sub menu toggle.


Description


Parameters

$item_output

(String) (Required) HTML markup for the menu item.

$item

(WP_Post) (Required) Post object for the navigation menu.


Return

(String) HTML MArkup for the menu including the AML State.


Source

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


			

Changelog

Changelog
Version Description
1.7.0 Introduced.

User Contributed Notes

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