wppaste
WordPress

Walker_Nav_Menu

Since
3.0.0
Source
wp-includes/class-walker-nav-menu.php:17
Core class used to implement an HTML list of nav menu items.

Compatibility

WordPress
since 3.0.0
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Hooks and filters fired · 10

Every hook that fires from inside Walker_Nav_Menu, in the order it appears in the class, grouped by the method that fires it.

Properties · 3

$tree_typestringpublic
What the class handles.
$db_fieldsstring[]public
Database fields to use.
$privacy_policy_urlstringprivate
The URL to the privacy policy page.

Methods · 6

Changelog

Introduced in 3.0.0. One change between 6.7.7 and 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

6.8.8
Method __construct() added.verified against source
3.0.0
Introduced.from the docblock

About this page

Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/class-walker-nav-menu.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.