wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_meta_sql › Filtr WordPress Hooks

Od3.1.0
Przestarzałyn/a
apply_filters_ref_array( 'get_meta_sql', array( $sql, $this->queries, $type, $primary_table, $primary_id_column, $context )
Parametry: (6)
  • (string[]) $sql Array containing the query's JOIN and WHERE clauses.
    Wymagane: Tak
  • (array) $queries Array of meta queries.
    Wymagane: Tak
  • (string) $type Type of meta. Possible values include but are not limited to 'post', 'comment', 'blog', 'term', and 'user'.
    Wymagane: Tak
  • (string) $primary_table Primary table.
    Wymagane: Tak
  • (string) $primary_id_column Primary column ID.
    Wymagane: Tak
  • (object) $context The main query object that corresponds to the type, for example a `WP_Query`, `WP_User_Query`, or `WP_Site_Query`.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the meta query's generated SQL.





Źródło

return apply_filters_ref_array( 'get_meta_sql', array( $sql, $this->queries, $type, $primary_table, $primary_id_column, $context ) );