add_filter( ‘http_request_args’, ‘aioseo_filter_analyzer_timeout’, 1, 2 ); function aioseo_filter_analyzer_timeout( $args, $url ) { if ( ‘https://analyze.aioseo.com/v1/analyze/’ === $url ) { $args[‘timeout’] = 120; } return $args; }Continue reading
add_filter(‘aioseo_schema_output’, ‘change_schema_type_in_specific_categories’); function change_schema_type_in_specific_categories($schema) { // Specify the category slugs you want to target $target_category_slugs = array(‘category1-slug’, ‘category2-slug’, ‘category3-slug’); foreach ($schema as &$schemaItem) { // Check if the post belongs to any of the specified categories if (isset($schemaItem[‘@type’]) && ‘NewsArticle’…Continue reading
add_filter( ‘wfea_event_time’, function ( $event_time, $start, $end ) { // do you stuff to update $event_time return $event_time; }, 10, 1 );Continue reading
add_filter( ‘wfea_combined_date_time_date_format’, function ( $format ) { return ‘jS F’; }, 10, 1 );Continue reading
add_filter( ‘wfea_combined_date_time_time_format’, function ( $format ) { return ‘g:i a’; }, 10, 1 );Continue reading
add_filter( ‘wfea_event_url’, function ( $url, $event_id, $organizer, $venue, $category ) { $code = ‘online’; if ( property_exists( $venue, ‘id’ ) ) { switch ( $venue->id ) { case 12345: $code = ‘venue1’; break; case 999893: $code = ‘venue2’; break; default:…Continue reading
jQuery(“footer”).append(“ Site managed by Maintain+ “)Continue reading
add_filter( ‘wfea_eventbrite_cache_expiry’, function ( $seconds ) { return 3 * HOUR_IN_SECONDS; }, 10, 1 );Continue reading
add_filter( ‘wfea_event_url’, function ( $url) { return $url . ‘?aff=affiliate1’; });Continue reading