Elon Musk’s infrastructure cuts at Twitter looking to already have impact; just tip of the iceberg
Media outlets are reporting that various infrastructure issues have already started to arise at Twitter and that a data centre shutdown is being evaluated. We look at the implications.
// added by JK:
// calculate if the user is able to see the pdf or not.
$requiredSubscription = (array)get_post_meta(get_the_ID(),'_required_capabilities', true);
$showPdf = !$requiredSubscription || (class_exists('swishu') && swishu::has_access_to_content(wp_get_single_post($_GET['id']))) || is_user_logged_in();