ld-focus-mode-navigation-settings

apply_filters( 'ld-focus-mode-navigation-settings',  array $navigation_setting_args )

Filters focus mode navigation setting arguments.


Description #


Parameters #

$navigation_setting_args

(array) An array of focus mode navigation settings.


Source #

File: themes/ld30/templates/focus/sidebar.php


Examples #

 <?php
/**
 * Example usage for ld-focus-mode-navigation-settings filter.
 */
add_filter(
	'ld-focus-mode-navigation-settings',
	function( $navigation_setting_args ) {
		// May add any custom logic using $navigation_setting_args.

		// Always return $navigation_setting_args.
		return $navigation_setting_args;
	}
);