[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/deprecated/ -> 7.0.php (summary)

Deprecated functions.

File Size: 45 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  bp_activity_check_blacklist_keys()
  bp_core_check_for_blacklist()

Functions
Functions that are not part of a class:

bp_activity_check_blacklist_keys( $activity )   X-Ref
Mark the posted activity as spam, if it contains disallowed keywords.

Use bp_activity_check_disallowed_keys() instead.

param: BP_Activity_Activity $activity The activity object to check.
since: 1.6.0

bp_core_check_for_blacklist( $user_id = 0, $title = '', $content = '', $error_type = 'bool' )   X-Ref
Check for blocked keys.

Use bp_core_check_for_disallowed_keys() instead.

param: int    $user_id    User ID.
param: string $title      The title of the content.
param: string $content    The content being posted.
param: string $error_type The error type to return. Either 'bool' or 'wp_error'.
return: bool|WP_Error True if test is passed, false if fail.
since: 1.6.0
since: 2.6.0 Added $error_type parameter.



Generated: Thu Nov 14 01:01:01 2024 Cross-referenced by PHPXref 0.7.1