Skip to content

Instantly share code, notes, and snippets.

@abdulawal39
abdulawal39 / custom-css-to-not-allowed.php
Created February 16, 2023 06:47
Add custom css to not allowed area of PDF Viewer for WordPress
add_action('tnc_pvfw_not_allowed_head', 'themencode_add_custom_css_for_not_allowed');
function themencode_add_custom_css_for_not_allowed(){
echo '<style type="text/css">.pvfw-not-allowed { background-color: white !important; padding: 30px !important;}</style>';
}