make_spam_user хук-событиеWP 1.0

This filter is documented in wp-includes/user.php

Использование

add_action( 'make_spam_user', 'wp_kama_make_spam_user_action' );
function wp_kama_make_spam_user_action( $id ){
	// action...
}
$id
-

Где вызывается хук

update_user_status()
make_spam_user
wp_insert_user()
make_spam_user
wp-includes/ms-deprecated.php 724
do_action( 'make_spam_user', $id );
wp-includes/user.php 2294
do_action( 'make_spam_user', $user_id );

Где используется хук в WordPress

wp-includes/ms-default-filters.php 88
add_action( $action, 'wp_maybe_update_network_user_counts', 10, 0 );