Astra_AMP::menu_toggle_button( array $attr, string $context, array $args )

Add AMP attribites to the toggle button to add .ast-submenu-expanded class to parent li.


Description


Parameters

$attr

(array) (Optional) Extra attributes to merge with defaults.

$context

(string) (Optional) The context, to build filter name.

$args

(array) (Optional) Custom data to pass to filter.


Return

(Array) updated HTML attributes.


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.