bp_core_check_for_disallowed_keys( int $user_id, string $title = '', string $content = '', string $error_type = 'bool' )

Check for blocked keys.


Description Description


Parameters Parameters

$user_id

(Required) User ID.

$title

(Optional) The title of the content.

Default value: ''

$content

(Optional) The content being posted.

Default value: ''

$error_type

(Optional) The error type to return. Either 'bool' or 'wp_error'.

Default value: 'bool'


Top ↑

Return Return

(bool|WP_Error) True if test is passed, false if fail.


Top ↑

Source Source

File: bp-core/bp-core-moderation.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
7.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.