bd_delete_comment_meta_options

bd_delete_comment_meta_options

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: bulk-delete.6.11

apply_filters('bd_delete_comment_meta_options') is found 2 times:

  • /include/Core/Metas/Modules/DeleteCommentMetaModule.php line 126
    		 * This filter is for processing filtering options for deleting comment meta.
    		 *
    		 * @since 5.4
    		 */
    		return apply_filters( 'bd_delete_comment_meta_options', $options, $request );
    	}
    
    	protected function do_delete( $options ) {
    		$args = $this->get_post_type_and_status_args( $options['post_type'] );
    
    		if ( $options['limit_to'] > 0 ) {
    
  • /include/meta/class-bulk-delete-comment-meta.php line 233
    		 * This filter is for processing filtering options for deleting comment meta.
    		 *
    		 * @since 5.4
    		 */
    		$delete_options = apply_filters( 'bd_delete_comment_meta_options', $delete_options, $_POST );
    
    		if ( 'true' == array_get( $_POST, 'smbd_cm_cron', 'false' ) ) {
    			$freq = $_POST['smbd_cm_cron_freq'];
    			$time = strtotime( $_POST['smbd_cm_cron_start'] ) - ( get_option( 'gmt_offset' ) * 60 * 60 );
    
    			if ( $freq == -1 ) {
    

See this hook used in plugins: