Last active
          January 14, 2025 17:07 
        
      - 
      
- 
        Save gdarko/0f1182820aacc18803789cacbdbe6642 to your computer and use it in GitHub Desktop. 
    Replaces the Fluent Forms Pro name to just Forms
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| /** | |
| * Replace the unnecessarily long "Fluent Forms Pro" menu item | |
| * name in the Admin Dashboard menu with just "Forms" | |
| * | |
| * @author Darko G <[email protected]> | |
| * | |
| * Recommended install steps: | |
| * ------------------------------- | |
| * 1. Download this file | |
| * 2. Upload in wp-content/mu-plugins/ directory | |
| * | |
| */ | |
| add_action( 'admin_menu', function() { | |
| global $menu; | |
| foreach($menu as &$item) { | |
| if($item[0] === 'Fluent Forms Pro') { | |
| $item[0] = 'Forms'; | |
| } | |
| } | |
| } , 999); | |
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment