// Add a custom query variable add_filter( 'rest_query_vars', function ( $valid_vars ) { $valid_vars[] = 'custom_after'; return $valid_vars; } ); // Modify the query if the custom query variable is set add_action( 'pre_get_posts', function ( $query ) { if ( isset( $query->query_vars['custom_after'] ) ) { $date_string = $query->query_vars['custom_after']; $date = date( 'Y-m-d H:i:s', strtotime( $date_string ) ); $query->set( 'date_query', array( 'after' => $date, 'inclusive' => true, ) ); } }, 10, 1 ); // Ensure our custom query variable is exposed to the API add_filter( 'rest_post_query', function ( $args, $request ) { if ( ! empty( $request['custom_after'] ) ) { $args['custom_after'] = $request['custom_after']; } return $args; }, 10, 2 );
BVB NewsTransfers

Borussia Dortmund möchte näheres von Neres!

Wie „Der Telegraf“ berichtet, hat Borussia Dortmund ein Angebot in Höhe vom 30 Millionen Euro für Ajax Talent David Neres abgegeben. Allerdings wurde das Angebot abgelehnt, wird der BVB nochmal was drauflegen?



 

Bemüht sich der BVB somit schon um einen Ersatz für Pulisic?

Abonnieren
Benachrichtige mich bei
guest
0 Comments
Inline Feedbacks
View all comments