Make WordPress Core


Ignore:
Timestamp:
10/29/2021 11:11:32 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Miscellaneous docblock improvements.

See #53399

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin.php

    r51266 r51955  
    12791279
    12801280/**
    1281  * Add a top-level menu page.
     1281 * Adds a top-level menu page.
    12821282 *
    12831283 * This function takes a capability which will be used to determine whether
     
    13511351
    13521352/**
    1353  * Add a submenu page.
     1353 * Adds a submenu page.
    13541354 *
    13551355 * This function takes a capability which will be used to determine whether
     
    14751475
    14761476/**
    1477  * Add submenu page to the Tools main menu.
     1477 * Adds a submenu page to the Tools main menu.
    14781478 *
    14791479 * This function takes a capability which will be used to determine whether
     
    14991499
    15001500/**
    1501  * Add submenu page to the Settings main menu.
     1501 * Adds a submenu page to the Settings main menu.
    15021502 *
    15031503 * This function takes a capability which will be used to determine whether
     
    15231523
    15241524/**
    1525  * Add submenu page to the Appearance main menu.
     1525 * Adds a submenu page to the Appearance main menu.
    15261526 *
    15271527 * This function takes a capability which will be used to determine whether
     
    15471547
    15481548/**
    1549  * Add submenu page to the Plugins main menu.
     1549 * Adds a submenu page to the Plugins main menu.
    15501550 *
    15511551 * This function takes a capability which will be used to determine whether
     
    15711571
    15721572/**
    1573  * Add submenu page to the Users/Profile main menu.
     1573 * Adds a submenu page to the Users/Profile main menu.
    15741574 *
    15751575 * This function takes a capability which will be used to determine whether
     
    16001600
    16011601/**
    1602  * Add submenu page to the Dashboard main menu.
     1602 * Adds a submenu page to the Dashboard main menu.
    16031603 *
    16041604 * This function takes a capability which will be used to determine whether
     
    16241624
    16251625/**
    1626  * Add submenu page to the Posts main menu.
     1626 * Adds a submenu page to the Posts main menu.
    16271627 *
    16281628 * This function takes a capability which will be used to determine whether
     
    16481648
    16491649/**
    1650  * Add submenu page to the Media main menu.
     1650 * Adds a submenu page to the Media main menu.
    16511651 *
    16521652 * This function takes a capability which will be used to determine whether
     
    16721672
    16731673/**
    1674  * Add submenu page to the Links main menu.
     1674 * Adds a submenu page to the Links main menu.
    16751675 *
    16761676 * This function takes a capability which will be used to determine whether
     
    16961696
    16971697/**
    1698  * Add submenu page to the Pages main menu.
     1698 * Adds a submenu page to the Pages main menu.
    16991699 *
    17001700 * This function takes a capability which will be used to determine whether
     
    17201720
    17211721/**
    1722  * Add submenu page to the Comments main menu.
     1722 * Adds a submenu page to the Comments main menu.
    17231723 *
    17241724 * This function takes a capability which will be used to determine whether
     
    17441744
    17451745/**
    1746  * Remove a top-level admin menu.
     1746 * Removes a top-level admin menu.
     1747 *
     1748 * Example usage:
     1749 *
     1750 *  - `remove_menu_page( 'tools.php' )`
     1751 *  - `remove_menu_page( 'plugin_menu_slug' )`
    17471752 *
    17481753 * @since 3.1.0
     
    17671772
    17681773/**
    1769  * Remove an admin submenu.
     1774 * Removes an admin submenu.
     1775 *
     1776 * Example usage:
     1777 *
     1778 *  - `remove_submenu_page( 'themes.php', 'nav-menus.php' )`
     1779 *  - `remove_submenu_page( 'tools.php', 'plugin_submenu_slug' )`
     1780 *  - `remove_submenu_page( 'plugin_menu_slug', 'plugin_submenu_slug' )`
    17701781 *
    17711782 * @since 3.1.0
     
    17951806
    17961807/**
    1797  * Get the URL to access a particular menu page based on the slug it was registered with.
     1808 * Gets the URL to access a particular menu page based on the slug it was registered with.
    17981809 *
    17991810 * If the slug hasn't been registered properly, no URL will be returned.
Note: See TracChangeset for help on using the changeset viewer.