bd_excluded_post_ids, array(

bd_excluded_post_ids, array(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: bulk-delete.6.12

apply_filters('bd_excluded_post_ids, array(') is found 1 times:

  • /include/Core/Posts/PostsModule.php line 162
    		 * @since 6.0.0
    		 *
    		 * @param array $excluded_ids Post IDs to be excluded.
    		 */
    		$excluded_post_ids = apply_filters( 'bd_excluded_post_ids', array() ); //phpcs:ignore
    
    		if ( is_array( $excluded_post_ids ) && ! empty( $excluded_post_ids ) ) {
    			$post_ids = array_diff( $post_ids, $excluded_post_ids );
    		}
    
    		foreach ( $post_ids as $post_id ) {