function is_post_permitted_by_optimizemember($post_id = FALSE) { if ($post_id && c_ws_plugin__optimizemember_posts_sp::check_specific_post_level_access($post_id, true)) { return false; } /**/ return true; }
/** * Status for all other Post Types, including Custom Post Types; but excluding Pages. * * @package optimizeMember\Lock_Icons * @since 1.5 * * @param str $column_name Column ID/Name. We need to look at this to fill the `(s2)` column. * @param int|str $id Expecting a numeric Post ID to be passed by the Action Hook. * @return null */ public static function _lock_icons_echo_value_post_types($column_name = FALSE, $id = FALSE) { echo $column_name === "ws_plugin__optimizemember_pro_lock_icons" ? c_ws_plugin__optimizemember_pro_lock_icons_in::_return_lock_icons_description(c_ws_plugin__optimizemember_posts_sp::check_specific_post_level_access($id, false)) : ""; }