Changeset 36896 for trunk/src/wp-includes/post.php
- Timestamp:
- 03/09/2016 04:16:29 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r36727 r36896 3867 3867 * @param bool $append Optional. If true, don't delete existing tags, just add on. If false, 3868 3868 * replace the tags with the new tags. Default false. 3869 * @return array|false|WP_Error Array of affected term IDs. WP_Error or false on failure.3869 * @return array|false|WP_Error Array of term taxonomy IDs of affected terms. WP_Error or false on failure. 3870 3870 */ 3871 3871 function wp_set_post_tags( $post_id = 0, $tags = '', $append = false ) { … … 3886 3886 * @param bool $append Optional. If true, don't delete existing terms, just add on. If false, 3887 3887 * replace the terms with the new terms. Default false. 3888 * @return array|false|WP_Error Array of affected term IDs. WP_Error or false on failure.3888 * @return array|false|WP_Error Array of term taxonomy IDs of affected terms. WP_Error or false on failure. 3889 3889 */ 3890 3890 function wp_set_post_terms( $post_id = 0, $tags = '', $taxonomy = 'post_tag', $append = false ) { … … 3929 3929 * @param bool $append If true, don't delete existing categories, just add on. 3930 3930 * If false, replace the categories with the new categories. 3931 * @return array| bool|WP_Error3931 * @return array|false|WP_Error Array of term taxonomy IDs of affected categories. WP_Error or false on failure. 3932 3932 */ 3933 3933 function wp_set_post_categories( $post_ID = 0, $post_categories = array(), $append = false ) {
Note: See TracChangeset
for help on using the changeset viewer.