Advertisement
fauzanjeg

Remove Unlocked Post Menu in Account Page

Jul 8th, 2021
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. /* Remove Unlocked Post Menu in Account Page */
  2. function remove_unlocked_post_menu( $item ) {
  3.     unset( $item['jnews_paywall_unl'] );
  4.  
  5.     return $item;
  6. }
  7. add_filter( 'jnews_paywall_endpoint', 'remove_unlocked_post_menu' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement