Amp::wrap_content( string $item_output, object $item, int $depth, object $args )
Wrap the content of the menu items in case of AMP.
Parameters
- $item_output
-
(Required) item markup.
- $item
-
(Required) item information.
- $depth
-
(Required) item depth.
- $args
-
(Required) menu args.
Return
(string)
Source
File: inc/compatibility/amp.php
Expand full source code Collapse full source code View on Github