Changeset 37487 for trunk/src/wp-includes/post.php
- Timestamp:
- 05/22/2016 05:39:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r37481 r37487 287 287 * 288 288 * The arguments listed as defaults are for this function and also of the 289 * {@link get_posts()} function. The arguments are combined with the 290 * get_children defaults and are then passed to the {@link get_posts()} 291 * function, which accepts additional arguments. You can replace the defaults in 292 * this function, listed below and the additional arguments listed in the 293 * {@link get_posts()} function. 289 * get_posts() function. The arguments are combined with the get_children defaults 290 * and are then passed to the get_posts() function, which accepts additional arguments. 291 * You can replace the defaults in this function, listed below and the additional 292 * arguments listed in the get_posts() function. 294 293 * 295 294 * The 'post_parent' is the most important argument and important attention … … 413 412 * Retrieves post data given a post ID or post object. 414 413 * 415 * See {@link sanitize_post()}for optional $filter values. Also, the parameter416 * $post, must be given as a variable, since it is passed by reference.414 * See sanitize_post() for optional $filter values. Also, the parameter 415 * `$post`, must be given as a variable, since it is passed by reference. 417 416 * 418 417 * @since 1.5.1 … … 2871 2870 * There is only one default for this function, called 'fields' and by default 2872 2871 * is set to 'all'. There are other defaults that can be overridden in 2873 * {@link wp_get_object_terms()}.2872 * wp_get_object_terms(). 2874 2873 * 2875 2874 * @since 2.3.0 … … 2889 2888 * There is only one default for this function, called 'fields' and by default 2890 2889 * is set to 'all'. There are other defaults that can be overridden in 2891 * {@link wp_get_object_terms()}.2890 * wp_get_object_terms(). 2892 2891 * 2893 2892 * @since 2.8.0 … … 2896 2895 * global $post. Default 0. 2897 2896 * @param string $taxonomy Optional. The taxonomy for which to retrieve terms. Default 'post_tag'. 2898 * @param array $args Optional. {@link wp_get_object_terms()}arguments. Default empty array.2897 * @param array $args Optional. wp_get_object_terms() arguments. Default empty array. 2899 2898 * @return array|WP_Error List of post terms or empty array if no terms were found. WP_Error object 2900 2899 * if `$taxonomy` doesn't exist.
Note: See TracChangeset
for help on using the changeset viewer.