wpmem_is_blocked()

Description

This function returns a boolean based on whether content is blocked or not.  This function replaces wpmem_block(). Similar to wpmem_is_hidden().

Parameters

$post_id
(int)(optional) The post id to check.

Return Values

(boolean) Returns true if content is blocked, otherwise false.

Changelog

Introduced in version 3.1.1

Source

wpmem_is_blocked() is located in /includes/api/api.php.