apply_filters( 'nab_duplicate_post_pre', (boolean|int) , int $src_post_id )
Runs before duplicating a post.
Description
Parameters
((boolean|int)) (Required) result the ID of the new post or
false
otherwise.- $src_post_id
(int) (Required) the ID of the post to duplicate.
Source
Changelog
Version | Description |
---|---|
5.0.6 | Introduced. |