Browse: Home / Hooks /


apply_filters( 'learndash_30_nav_menus',  array $locations )

Filters nav menu locations

Description #

Parameters #


(array) An Associative array of menu location identifiers (like a slug) and descriptive text.

Source #

File: themes/ld30/includes/helpers.php

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_30_nav_menus filter.
	function( $locations ) {
		// May add any custom logic using $locations.

		// Always return $locations.
		return $locations;

Changelog #

Version Description
3.0.0 Introduced.