diff --git wp-includes/functions.php wp-includes/functions.php
index c245af9..31612d3 100644
|
|
|
function wp_is_numeric_array( $data ) {
|
| 3287 | 3287 | * against each object. Default empty array. |
| 3288 | 3288 | * @param string $operator Optional. The logical operation to perform. 'or' means |
| 3289 | 3289 | * only one element from the array needs to match; 'and' |
| 3290 | | * means all elements must match. Default 'and'. |
| | 3290 | * means all elements must match. 'not' means no elements may |
| | 3291 | * match. Default 'and'. |
| 3291 | 3292 | * @param bool|string $field A field from the object to place instead of the entire object. |
| 3292 | 3293 | * Default false. |
| 3293 | 3294 | * @return array A list of objects or object fields. |
diff --git wp-includes/post.php wp-includes/post.php
index 59506f8..03cdad0 100644
|
|
|
function get_post_type_object( $post_type ) {
|
| 864 | 864 | * or 'objects'. Default 'names'. |
| 865 | 865 | * @param string $operator Optional. The logical operation to perform. 'or' means only one |
| 866 | 866 | * element from the array needs to match; 'and' means all elements |
| 867 | | * must match. Accepts 'or' or 'and'. Default 'and'. |
| | 867 | * must match. 'not' means no elements may match. Default 'and'. |
| 868 | 868 | * @return array A list of post type names or objects. |
| 869 | 869 | */ |
| 870 | 870 | function get_post_types( $args = array(), $output = 'names', $operator = 'and' ) { |