arie_cristianD

show only edit account and logout on account dropdown

Oct 30th, 2025
945
0
Never
7
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1. add_filter( 'jnews_dropdown_link', 'j_edit_account_dropdown', 99 );
  2.  
  3. function j_edit_account_dropdown( $dropdown ) {
  4.     if ( is_user_logged_in() ) {
  5.         $new_dropdown = array();
  6.         if ( isset( $dropdown['edit-account'] ) ) {
  7.             $new_dropdown['edit-account'] = $dropdown['edit-account'];
  8.         }
  9.         if ( isset( $dropdown['logout'] ) ) {
  10.             $new_dropdown['logout'] = $dropdown['logout'];
  11.         }
  12.  
  13.         if ( isset( $new_dropdown ) ) {
  14.             return $new_dropdown;
  15.         }
  16.     }
  17.     return $dropdown;
  18. }
  19.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Larmunuz
    21 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment