Skip to content

mc_foot_navigation

Joe Dolson edited this page Jun 14, 2026 · 1 revision

Filter the order in which navigation elements are shown at the bottom of the calendar.

Insert custom navigation elements by adding a value into the array with a callable function as a value. E.g. my_custom_nav, that expects the $params array as an argument.

Auto-generated Example

add_filter(
   'mc_footer_navigation',
    function(
        array $mc_bottomorder,
        array $used,
        array $params
    ) {
        // Your code here.
        return $mc_bottomorder;
    },
    10,
    3
);

Parameters

  • array $mc_bottomorder Array of navigation elements.
  • array $used Array of all navigation elements in use for this view.
  • array $params Current calendar view parameters.

Files

apply_filters( 'mc_footer_navigation', $mc_bottomorder, $used, $params )

← All Hooks

Clone this wiki locally