Title: wp_is_collaboration_enabled
Published: May 20, 2026

---

# wp_is_collaboration_enabled(): bool

## In this article

 * [Description](https://developer.wordpress.org/reference/functions/wp_is_collaboration_enabled/?output_format=md#description)
 * [Return](https://developer.wordpress.org/reference/functions/wp_is_collaboration_enabled/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/functions/wp_is_collaboration_enabled/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/wp_is_collaboration_enabled/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/wp_is_collaboration_enabled/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/wp_is_collaboration_enabled/?output_format=md#wp--skip-link--target)

Determines whether real-time collaboration is enabled.

## 󠀁[Description](https://developer.wordpress.org/reference/functions/wp_is_collaboration_enabled/?output_format=md#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.

## 󠀁[Return](https://developer.wordpress.org/reference/functions/wp_is_collaboration_enabled/?output_format=md#return)󠁿

 bool Whether real-time collaboration is enabled.

## 󠀁[Source](https://developer.wordpress.org/reference/functions/wp_is_collaboration_enabled/?output_format=md#source)󠁿

    ```php
    function wp_is_collaboration_enabled() {
    	return (
    		wp_is_collaboration_allowed() &&
    		(bool) get_option( 'wp_collaboration_enabled' )
    	);
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/collaboration.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/collaboration.php#L20)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/collaboration.php#L20-L25)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/wp_is_collaboration_enabled/?output_format=md#related)󠁿

| Uses | Description | 
| [wp_is_collaboration_allowed()](https://developer.wordpress.org/reference/functions/wp_is_collaboration_allowed/)`wp-includes/collaboration.php` |

Determines whether real-time collaboration is allowed.

  | 
| [get_option()](https://developer.wordpress.org/reference/functions/get_option/)`wp-includes/option.php` |

Retrieves an option value based on an option name.

  |

| Used by | Description | 
| [wp_collaboration_inject_setting()](https://developer.wordpress.org/reference/functions/wp_collaboration_inject_setting/)`wp-includes/collaboration.php` |

Injects the real-time collaboration setting into a global variable.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/wp_is_collaboration_enabled/?output_format=md#changelog)󠁿

| Version | Description | 
| [7.0.0](https://developer.wordpress.org/reference/since/7.0.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fwp_is_collaboration_enabled%2F)
before being able to contribute a note or feedback.