apply_filters( ‘nab_duplicate_post_pre’, (boolean|int) $result , int $src_post_id )
Runs before duplicating a post.
Parameters
- $result (boolean|int)
(Required) the ID of the new post or
false
otherwise.- $src_post_id int
(Required) the ID of the post to duplicate.