Advanced

  1. Home
  2. Docs
  3. Advanced Post Block
  4. Guides
  5. Advanced

Advanced

Custom Query

You can configure the query outside of the available option using the apb_query filter.

Just add this filter anywhere and you will get the query as a parameter of the callback function. modify the query and return it.

Ex:

add_filter( 'apb_query', apbQuery() );
function apbQuery( $query ) {
    $query['lang'] = 'en';

    return $query;
}
Was this article helpful to you? No Yes

How can we help?