Determines whether real-time collaboration is enabled.
Description
If the WP_ALLOW_COLLABORATION constant is false, collaboration is always disabled regardless of the database option.
Otherwise, falls back to the ‘wp_collaboration_enabled’ option.
Source
function wp_is_collaboration_enabled() {
return (
wp_is_collaboration_allowed() &&
(bool) get_option( 'wp_collaboration_enabled' )
);
}
Changelog
| Version | Description |
|---|---|
| 7.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.