Github fork added filters
-
Added filters to all theme authors to set the verbiage Prepended to new duplicates and/or copies.
New Pull Request available at https://github.com/lpointet/prepare-new-version/pull/9
New code from line 211 – 219:
// We may prepend some string to the post title switch( $action ) { case PNV_DUPLICATE_ACTION: $destination['post_title'] = trim(apply_filters('pnv_duplicate_prepend_title',PNV_STR_DUPLICATE_PREPEND_TITLE).' '. $destination['post_title']); break; case PNV_COPY_ACTION: $destination['post_title'] = trim(apply_filters('pnv_copy_prepend_title',PNV_STR_COPY_PREPEND_TITLE) .' ' . $destination['post_title']); break; }
- The topic ‘Github fork added filters’ is closed to new replies.