bp_activity_blocks_allowed_tags
bp_activity_blocks_preserve_emoji_chars
bp_activity_do_blocks
bp_activity_has_blocks
bp_activity_restore_wpautop_hook
bp_activity_blocks_preserve_emoji_chars(string $activity_content) : string
package | buddypress\bp-activity-block-functions |
---|---|
since | 11.0.0 |
string
The activity content.
string
The sanitized activity content.bp_activity_do_blocks(string $content) : string
package | buddypress\bp-activity-block-functions |
---|---|
since | 11.0.0 |
string
Activity content.
string
The block based activity content.bp_activity_has_blocks(string|integer|\BP_Activity_Activity|null $activity = null
) : boolean
package | buddypress\bp-activity-block-functions |
---|---|
since | 11.0.0 |
see |
string
integer
\BP_Activity_Activity
null
Activity content, Activity ID, or Activity object.
boolean
Whether the activity content has blocks.bp_activity_restore_wpautop_hook(string $content) : string
package | buddypress\bp-activity-block-functions |
---|---|
since | 11.0.0 |
string
The activity content running through this filter.
string
The unmodified activity content.