clear_global_post_cache

The timeline below displays how wordpress function clear_global_post_cache has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.9

/**
 * Deprecated functionality to clear the global post cache.
 *
 * @since MU (3.0.0)
 * @deprecated 3.0.0 Use clean_post_cache()
 * @see clean_post_cache()
 *
 * @param int $post_id Post ID.
 */
function clear_global_post_cache($post_id)
{
    _deprecated_function(__FUNCTION__, '3.0.0', 'clean_post_cache()');
}

WordPress Version: 4.6

/**
 * Deprecated functionality to clear the global post cache.
 *
 * @since MU
 * @deprecated 3.0.0 Use clean_post_cache()
 * @see clean_post_cache()
 *
 * @param int $post_id Post ID.
 */
function clear_global_post_cache($post_id)
{
    _deprecated_function(__FUNCTION__, '3.0.0', 'clean_post_cache()');
}

WordPress Version: 4.5

/**
 * Deprecated functionality to clear the global post cache.
 *
 * @since MU
 * @deprecated 3.0.0 Use clean_post_cache()
 * @see clean_post_cache()
 *
 * @param int $post_id Post ID.
 */
function clear_global_post_cache($post_id)
{
    _deprecated_function(__FUNCTION__, '3.0', 'clean_post_cache()');
}

WordPress Version: 4.4

/**
 * Deprecated functionality to clear the global post cache.
 *
 * @since MU
 * @deprecated 3.0.0 Use clean_post_cache()
 * @see clean_post_cache()
 */
function clear_global_post_cache($post_id)
{
    _deprecated_function(__FUNCTION__, '3.0', 'clean_post_cache()');
}

WordPress Version: 3.7

/**
 * @since MU
 * @deprecated 3.0.0
 * @deprecated Use clean_post_cache()
 * @see clean_post_cache()
 */
function clear_global_post_cache($post_id)
{
    _deprecated_function(__FUNCTION__, '3.0', 'clean_post_cache()');
}