add_filter('ppw_custom_post_id_for_hide_protected_post', function($ids) { $is_protect = ppw_core_get_setting_type_bool_by_option_name( 'ppwp_is_protect_category', PPW_Category_Service::OPTION_NAME ); if ( ! $is_protect ) { return $ids; } $services = new PPW_Password_Services(); $protected_ids = $services->get_protected_post_ids(); $protected_categories = implode( ",", ppw_core_get_setting_type_array_by_option_name( 'ppwp_protected_categories_selected', PPW_Category_Service::OPTION_NAME ) ); $posts = get_posts( array( 'fields' => 'ids', 'category' => $protected_categories, ) ); foreach ($posts as $id) { $protected_ids[] = $id; } return $protected_ids; }); Movies – viewplus

It seems we can’t find what you’re looking for. Perhaps searching can help.