get_calendar

get_calendar

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('get_calendar') is found 3 times:

  • /wp-includes/general-template.php line 2256
    2252
    2253
    2254
    2255
    2256
    2257
    2258
    2259
    2260
    2261
    $cache = wp_cache_get( 'get_calendar', 'calendar' );
     
    if ( $cache && is_array( $cache ) && isset( $cache[ $key ] ) ) {
        /** This filter is documented in wp-includes/general-template.php */
        $output = apply_filters( 'get_calendar', $cache[ $key ] );
     
        if ( $display ) {
            echo $output;
            return;
        }
  • /wp-includes/general-template.php line 2463
    2459
    2460
    2461
    2462
    2463
    2464
    2465
    2466
    2467
    2468
             * @since 3.0.0
             *
             * @param string $calendar_output HTML output of the calendar.
             */
            echo apply_filters( 'get_calendar', $calendar_output );
            return;
        }
        /** This filter is documented in wp-includes/general-template.php */
        return apply_filters( 'get_calendar', $calendar_output );
    }
  • /wp-includes/general-template.php line 2467
    2463
    2464
    2465
    2466
    2467
    2468
    2469
    2470
    2471
    2472
    2473
            echo apply_filters( 'get_calendar', $calendar_output );
            return;
        }
        /** This filter is documented in wp-includes/general-template.php */
        return apply_filters( 'get_calendar', $calendar_output );
    }
     
    /**
     * Purges the cached results of get_calendar.
     *
     * @see get_calendar()