wpmem_is_hidden()

Description

Similar to wpmem_is_blocked(). This function returns a boolean based on whether content is hidden or not.

Parameters

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

Return Values

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

Changelog

Introduced in version 3.3.2

Source

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