Changeset 28976 for trunk/src/wp-includes/post.php
- Timestamp:
- 07/03/2014 07:27:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r28955 r28976 1869 1869 * @link http://codex.wordpress.org/Function_Reference/get_post_custom 1870 1870 * 1871 * @param int $post_id Optional. Post ID. Default is ID of the global `$post`.1871 * @param int $post_id Optional. Post ID. Default is ID of the global $post. 1872 1872 * @return array Post meta for the given post. 1873 1873 */ … … 1888 1888 * @link http://codex.wordpress.org/Function_Reference/get_post_custom_keys 1889 1889 * 1890 * @param int $post_id Optional. Post ID. Default is ID of the global `$post`.1890 * @param int $post_id Optional. Post ID. Default is ID of the global $post. 1891 1891 * @return array|null Either array of the keys, or null if keys could not be retrieved. 1892 1892 */ … … 1911 1911 * 1912 1912 * @param string $key Meta field key. 1913 * @param int $post_id Optional. Post ID. Default is ID of the global `$post`.1913 * @param int $post_id Optional. Post ID. Default is ID of the global $post. 1914 1914 * @return array Meta field values. 1915 1915 */ … … 1931 1931 * @since 2.7.0 1932 1932 * 1933 * @param int $post_id Optional. Post ID. Default is ID of the global `$post`.1933 * @param int $post_id Optional. Post ID. Default is ID of the global $post. 1934 1934 * @return bool Whether post is sticky. 1935 1935 */ … … 2625 2625 * @since 2.9.0 2626 2626 * 2627 * @param int $post_id Optional. Post ID. Default is ID of the global `$post`.2627 * @param int $post_id Optional. Post ID. Default is ID of the global $post. 2628 2628 * @return mixed False on failure 2629 2629 */ … … 2789 2789 * @uses wp_get_object_terms() Retrieves the categories. Args details can be found here. 2790 2790 * 2791 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`.2791 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post. 2792 2792 * @param array $args Optional. Overwrite the defaults. 2793 2793 * @return array … … 2814 2814 * @uses wp_get_object_terms() Gets the tags for returning. Args can be found here 2815 2815 * 2816 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`.2816 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post. 2817 2817 * @param array $args Optional. Overwrite the defaults 2818 2818 * @return array List of post tags. … … 2833 2833 * @uses wp_get_object_terms() Gets the tags for returning. Args can be found here 2834 2834 * 2835 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`.2835 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post. 2836 2836 * @param string $taxonomy The taxonomy for which to retrieve terms. Defaults to post_tag. 2837 2837 * @param array $args Optional. {@link wp_get_object_terms()} arguments. … … 3647 3647 * @since 2.3.0 3648 3648 * 3649 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`.3649 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post. 3650 3650 * @param string $tags The tags to set for the post, separated by commas. 3651 3651 * @return bool|null Will return false if $post_id is not an integer or is 0. Will return null otherwise … … 3661 3661 * @uses wp_set_object_terms() Sets the tags for the post. 3662 3662 * 3663 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`.3663 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post. 3664 3664 * @param string $tags The tags to set for the post, separated by commas. 3665 3665 * @param bool $append If true, don't delete existing tags, just add on. If false, replace the tags with the new tags. … … 3676 3676 * @uses wp_set_object_terms() Sets the tags for the post. 3677 3677 * 3678 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`.3678 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global $post. 3679 3679 * @param string $tags The tags to set for the post, separated by commas. 3680 3680 * @param string $taxonomy Taxonomy name. Defaults to 'post_tag'. … … 3715 3715 * @since 2.1.0 3716 3716 * 3717 * @param int $post_ID Optional. The Post ID. Does not default to the ID of the global `$post`.3717 * @param int $post_ID Optional. The Post ID. Does not default to the ID of the global $post. 3718 3718 * @param array|int $post_categories Optional. List of categories or ID of category. 3719 3719 * @param bool $append If true, don't delete existing categories, just add on. If false, replace the categories with the new categories.
Note: See TracChangeset
for help on using the changeset viewer.