Changeset 28655 for trunk/src/wp-includes/post.php
- Timestamp:
- 06/03/2014 04:51:05 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r28654 r28655 2778 2778 * @uses wp_get_object_terms() Retrieves the categories. Args details can be found here. 2779 2779 * 2780 * @param int $post_id Optional. The Post ID. Does not default to the global `$post`.2780 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`. 2781 2781 * @param array $args Optional. Overwrite the defaults. 2782 2782 * @return array … … 2803 2803 * @uses wp_get_object_terms() Gets the tags for returning. Args can be found here 2804 2804 * 2805 * @param int $post_id Optional. The Post ID. Does not default to the global `$post`.2805 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`. 2806 2806 * @param array $args Optional. Overwrite the defaults 2807 2807 * @return array List of post tags. … … 2822 2822 * @uses wp_get_object_terms() Gets the tags for returning. Args can be found here 2823 2823 * 2824 * @param int $post_id Optional. The Post ID. Does not default to the global `$post`.2824 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`. 2825 2825 * @param string $taxonomy The taxonomy for which to retrieve terms. Defaults to post_tag. 2826 2826 * @param array $args Optional. {@link wp_get_object_terms()} arguments. … … 3580 3580 * @since 2.3.0 3581 3581 * 3582 * @param int $post_id Optional. The Post ID. Does not default to the global `$post`.3582 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`. 3583 3583 * @param string $tags The tags to set for the post, separated by commas. 3584 3584 * @return bool|null Will return false if $post_id is not an integer or is 0. Will return null otherwise … … 3594 3594 * @uses wp_set_object_terms() Sets the tags for the post. 3595 3595 * 3596 * @param int $post_id Optional. The Post ID. Does not default to the global `$post`.3596 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`. 3597 3597 * @param string $tags The tags to set for the post, separated by commas. 3598 3598 * @param bool $append If true, don't delete existing tags, just add on. If false, replace the tags with the new tags. … … 3609 3609 * @uses wp_set_object_terms() Sets the tags for the post. 3610 3610 * 3611 * @param int $post_id Optional. The Post ID. Does not default to the global `$post`.3611 * @param int $post_id Optional. The Post ID. Does not default to the ID of the global `$post`. 3612 3612 * @param string $tags The tags to set for the post, separated by commas. 3613 3613 * @param string $taxonomy Taxonomy name. Defaults to 'post_tag'. … … 3648 3648 * @since 2.1.0 3649 3649 * 3650 * @param int $post_ID Optional. The Post ID. Does not default to the global `$post`.3650 * @param int $post_ID Optional. The Post ID. Does not default to the ID of the global `$post`. 3651 3651 * @param array|int $post_categories Optional. List of categories or ID of category. 3652 3652 * @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.