post_types_to_delete_with_user

Advertisement

Summery Summery

Filters the list of post types to delete with a user.

Syntax Syntax

apply_filters( 'post_types_to_delete_with_user', string[] $post_types_to_delete, int $id )

Parameters Parameters

$post_types_to_delete

(string[]) Array of post types to delete.

$id

(int) User ID.

Source Source

File: wp-admin/includes/user.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.