_xA@hxA)npAUPJpAdsnpA WHERE mpAe_id = %d4 W?|h"wp_determine_option_autoload_valueime.#/** * @return string|false */Z}o܂%'wp_site_admin_email_change_notificationiAwp_resol0gAlictsHgA(8pAA variab(npA(8pAected.#_site_transient_timeout_theme_rootsor.xAS{ frAOPM gAgAAVx~B"wp_privacy_delete_old_export_filesMpxApxApxAJw#nplurals_and_expression_from_header( /** * PHP5 constructor. */ator8gAshrA.@sAxpArArArAwAwAwA0gA>wAAVxpA LwAPjAMwAMwA1hA NwAHNwAgAЎgArAcB]gAQT@gA lAg3 `8KoAQT? lA xrAstpgAgwAiA`{A hwA-oAXsAgAgA2=XlA2AgAwA4iA0MpA`JsA@wA0gAXgA lA4YlA4+rArAFrAȸwArAHrAwAwAgA<uwA<Ax.wA<Ah\pA<+2.005KP7?`:=+wA==wA=upgA=AwA=pA=wA@gAB=gAB=wABuekABAc 58;1FdXs(,49GOAvABAvABupgABAiAB` xAB>iAC>xA8xA8gAiAiA`9oAXgAgAXgAgA@XgA@ /** * PHP5 constructor. */0JsA0xApxApxApxAPgApxApxApxAPgApxApxApxAPgAҩ"1"wp_cache_add_non_persistent_groupsribe_beginning_of_day( current_time( 'mysql' ) ); unset( $args['ends_after'] ); return $args; } /** * Add Filters for safe list and Adding View HTML. * * @since 5.1.0 */ public function add_view_filters() { add_filter( 'tribe_template_html:events/v2/components/before', [ $this, 'filter_template_done' ] ); add_filter( 'tribe_template_html:events/v2/components/ical-link', [ $this, 'add_view' ] ); } /** * Connect safe list Filter to Tribe Template Done to Prevent some of the current View's * Templates from Displaying when the Latest Past Events Displays. * * @since 5.1.0 */ public function filter_template_done( $html ) { add_filter( 'tribe_template_done', [ $this, 'filter_template_display_by_safelist' ], 10, 4 ); return $html; } /** * Filter the Template Files and Only Return HTML if in safe list. * * @since 5.1.0 * * @param string $done Whether to continue displaying the template or not. * @param array|string $name Template name. * @param array $context Any context data you need to expose to this file. * @param boolean $echo If we should also print the Template. * * @return string */ public function filter_template_display_by_safelist( $done, $name, $context, $echo ) { if ( is_array( $name ) ) { $name = implode( '/', $name ); } $display = in_array( $name, $this->safelist, true ); /** * Filters whether a specific template should show in the context of the Latest Past Events View or not. * * @since 5.2.0 * * @param bool $display Whether a specified template should display or not. * @param string $name The template name. * @param array $context The data context for this template inclusion. * @param bool $echo Whether the template inclusion is attempted to then echo to the page, or not. */ $display = apply_filters( 'tribe_events_latest_past_view_display_template', $display, $name, $context, $echo ); if ( $display ) { return $done; } return ''; } /** * Add the HTML for Latest Past Events to the HTML of the View Being Rendered. * * @since 5.1.0 * * @param $html string The HTML of the view being rendered. * * @return string The HTML of the View being Rendered and Latest Past Events HTML * @todo This recursive call should be removed, and View objects should not be injected as pseudo templates. */ public function add_view( $html ) { // Disable nonce - this is a recursive call, and we don't want two sets of nonces. $nonce_override = function ( $html ) { return ''; }; add_filter( 'tec_events_views_v2_get_rest_nonce_html', $nonce_override, 10 ); $html = $this->get_html(); remove_filter( 'tec_events_views_v2_get_rest_nonce_html', $nonce_override ); return $html; } }