*/
global $content_width;
if ( ! isset( $content_width ) ) {
$content_width = 1200; /* pixels */
}
// Add editor styles to the block editor.
add_theme_support( 'editor-styles' );
$editor_styles = apply_filters(
'generate_editor_styles',
array(
'assets/css/admin/block-editor.css',
)
);
add_editor_style( $editor_styles );
}
function generate_enqueue_tribe_v2_template_styles() {
if ( is_admin() ) {
return;
}
$should_enqueue = is_post_type_archive( 'tribe_events' ) || is_singular( 'tribe_events' );
if ( function_exists( 'tribe_is_event_query' ) && tribe_is_event_query() ) {
$should_enqueue = true;
}
if ( function_exists( 'tribe_is_event' ) && tribe_is_event() ) {
$should_enqueue = true;
}
if ( ! $should_enqueue ) {
return;
}
wp_enqueue_style(
'generatepress-tribe-v2-template',
* @return void
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
// If we are not currently registered, we should not do anything
if (!$this->isRegistered) {
return;
}
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* @param InspectorFactoryInterface $factory
*
* @return void
*/
public function setInspectorFactory(InspectorFactoryInterface $factory)
{
$this->inspectorFactory = $factory;
}
public function addFrameFilter($filterCallback)
| Key | Value |
| hide_subsequent_recurrences | 1 |
| Key | Value |
| SERVER_SOFTWARE | Apache |
| REQUEST_URI | /events/tag/family-events-saline/day/2009-12-15/?hide_subsequent_recurrences=1 |
| USER | dev1tstn |
| HOME | /home/dev1tstn |
| SCRIPT_NAME | /index.php |
| QUERY_STRING | hide_subsequent_recurrences=1 |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_QUERY_STRING | hide_subsequent_recurrences=1 |
| REDIRECT_URL | /events/tag/family-events-saline/day/2009-12-15/ |
| REMOTE_PORT | 26284 |
| SCRIPT_FILENAME | /home/dev1tstn/public_html/index.php |
| SERVER_ADMIN | webmaster@dev1.thesuntimesnews.com |
| CONTEXT_DOCUMENT_ROOT | /home/dev1tstn/public_html |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | https |
| DOCUMENT_ROOT | /home/dev1tstn/public_html |
| REMOTE_ADDR | 216.73.216.232 |
| SERVER_PORT | 443 |
| SERVER_ADDR | 107.155.112.130 |
| SERVER_NAME | dev1.thesuntimesnews.com |
| SERVER_SIGNATURE | |
| PATH | /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin |
| HTTP_X_HTTPS | 1 |
| HTTP_X_FORWARDED_PROTO | https |
| HTTP_CF_DEVICE_TYPE | desktop |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_CF_RAY | a02374e528a30acb-DFW |
| HTTP_CF_IPCOUNTRY | US |
| HTTP_CF_VISITOR | {\"scheme\":\"https\"} |
| HTTP_CDN_LOOP | cloudflare; loops=1; subreqs=1 |
| HTTP_CF_EW_VIA | 15 |
| HTTP_X_FORWARDED_FOR | 216.73.216.232,216.73.216.232 |
| HTTP_HOST | dev1.thesuntimesnews.com |
| proxy-nokeepalive | 1 |
| SSL_TLS_SNI | dev1.thesuntimesnews.com |
| HTTPS | on |
| HTTP_AUTHORIZATION | |
| SCRIPT_URI | https://dev1.thesuntimesnews.com/events/tag/family-events-saline/day/2009-12-15/ |
| SCRIPT_URL | /events/tag/family-events-saline/day/2009-12-15/ |
| UNIQUE_ID | ahajZxkEJANqAz6va4SFvwAAAI8 |
| REDIRECT_STATUS | 200 |
| REDIRECT_SSL_TLS_SNI | dev1.thesuntimesnews.com |
| REDIRECT_HTTPS | on |
| REDIRECT_HTTP_AUTHORIZATION | |
| REDIRECT_SCRIPT_URI | https://dev1.thesuntimesnews.com/events/tag/family-events-saline/day/2009-12-15/ |
| REDIRECT_SCRIPT_URL | /events/tag/family-events-saline/day/2009-12-15/ |
| REDIRECT_UNIQUE_ID | ahajZxkEJANqAz6va4SFvwAAAI8 |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1779868519.2507 |
| REQUEST_TIME | 1779868519 |
| argv | Array ( [0] => hide_subsequent_recurrences=1 ) |
| argc | 1 |