Docs: Correct and improve the documented types for various functions and hooks.
See #55646 Built from https://develop.svn.wordpress.org/trunk@53877 git-svn-id: http://core.svn.wordpress.org/trunk@53436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1231,7 +1231,13 @@ function wp_metadata_lazyloader() {
|
||||
* @param string $primary_table Primary database table name.
|
||||
* @param string $primary_id_column Primary ID column name.
|
||||
* @param object $context Optional. The main query object
|
||||
* @return array Associative array of `JOIN` and `WHERE` SQL.
|
||||
* @return string[]|false {
|
||||
* Array containing JOIN and WHERE SQL clauses to append to the main query,
|
||||
* or false if no table exists for the requested meta type.
|
||||
*
|
||||
* @type string $join SQL fragment to append to the main JOIN clause.
|
||||
* @type string $where SQL fragment to append to the main WHERE clause.
|
||||
* }
|
||||
*/
|
||||
function get_meta_sql( $meta_query, $type, $primary_table, $primary_id_column, $context = null ) {
|
||||
$meta_query_obj = new WP_Meta_Query( $meta_query );
|
||||
|
||||
Reference in New Issue
Block a user