duplicate_post_excludelist_filter
duplicate_post_excludelist_filter
Appears in: duplicate-post.3.2.5, duplicate-post.3.2.6, duplicate-post.4.0.1, duplicate-post.4.0.2, duplicate-post.4.1.1, duplicate-post.4.1.2, duplicate-post.4.4, duplicate-post.4.5
Hook Type: filter
See hook in action
Displaying hooks found in version: duplicate-post.4.5apply_filters('duplicate_post_excludelist_filter') is found 2 times:
- /admin-functions.php line 356
* @param array $meta_blacklist The meta fields excludelist from the options. * * @return array */ $meta_blacklist = apply_filters( 'duplicate_post_excludelist_filter', $meta_blacklist ); $meta_blacklist_string = '(' . implode( ')|(', $meta_blacklist ) . ')'; if ( strpos( $meta_blacklist_string, '*' ) !== false ) { $meta_blacklist_string = str_replace( [ '*' ], [ '[a-zA-Z0-9_]*' ], $meta_blacklist_string ); $meta_keys = [];
- /src/post-duplicator.php line 265
* @param array $meta_excludelist The meta fields excludelist from the options. * * @return array */ $meta_excludelist = \apply_filters( 'duplicate_post_excludelist_filter', $meta_excludelist ); } $meta_excludelist_string = '(' . \implode( ')|(', $meta_excludelist ) . ')'; if ( \strpos( $meta_excludelist_string, '*' ) !== false ) { $meta_excludelist_string = \str_replace( [ '*' ], [ '[a-zA-Z0-9_]*' ], $meta_excludelist_string );