apply_filters_ref_array( 'bp_xprofile_get_meta_sql', array $args )

Filter the meta query’s generated SQL.

Description

Parameters

$args

(array) An array of meta query SQL arguments.

  • 'clauses'
    (array) Array containing the query's JOIN and WHERE clauses.
  • 'queries'
    (array) Array of meta queries.
  • 'type'
    (string) Type of meta.
  • 'primary_table'
    (string) Primary table.
  • 'primary_id_column'
    (string) Primary column ID.
  • 'context'
    (object) The main query object.

Source

File: bp-xprofile/classes/class-bp-xprofile-meta-query.php

Changelog

Changelog
Version Description
BuddyPress 2.3.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.