Changeset 51955 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 10/29/2021 11:11:32 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/plugin.php (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r51266 r51955 1279 1279 1280 1280 /** 1281 * Add a top-level menu page.1281 * Adds a top-level menu page. 1282 1282 * 1283 1283 * This function takes a capability which will be used to determine whether … … 1351 1351 1352 1352 /** 1353 * Add a submenu page.1353 * Adds a submenu page. 1354 1354 * 1355 1355 * This function takes a capability which will be used to determine whether … … 1475 1475 1476 1476 /** 1477 * Add submenu page to the Tools main menu.1477 * Adds a submenu page to the Tools main menu. 1478 1478 * 1479 1479 * This function takes a capability which will be used to determine whether … … 1499 1499 1500 1500 /** 1501 * Add submenu page to the Settings main menu.1501 * Adds a submenu page to the Settings main menu. 1502 1502 * 1503 1503 * This function takes a capability which will be used to determine whether … … 1523 1523 1524 1524 /** 1525 * Add submenu page to the Appearance main menu.1525 * Adds a submenu page to the Appearance main menu. 1526 1526 * 1527 1527 * This function takes a capability which will be used to determine whether … … 1547 1547 1548 1548 /** 1549 * Add submenu page to the Plugins main menu.1549 * Adds a submenu page to the Plugins main menu. 1550 1550 * 1551 1551 * This function takes a capability which will be used to determine whether … … 1571 1571 1572 1572 /** 1573 * Add submenu page to the Users/Profile main menu.1573 * Adds a submenu page to the Users/Profile main menu. 1574 1574 * 1575 1575 * This function takes a capability which will be used to determine whether … … 1600 1600 1601 1601 /** 1602 * Add submenu page to the Dashboard main menu.1602 * Adds a submenu page to the Dashboard main menu. 1603 1603 * 1604 1604 * This function takes a capability which will be used to determine whether … … 1624 1624 1625 1625 /** 1626 * Add submenu page to the Posts main menu.1626 * Adds a submenu page to the Posts main menu. 1627 1627 * 1628 1628 * This function takes a capability which will be used to determine whether … … 1648 1648 1649 1649 /** 1650 * Add submenu page to the Media main menu.1650 * Adds a submenu page to the Media main menu. 1651 1651 * 1652 1652 * This function takes a capability which will be used to determine whether … … 1672 1672 1673 1673 /** 1674 * Add submenu page to the Links main menu.1674 * Adds a submenu page to the Links main menu. 1675 1675 * 1676 1676 * This function takes a capability which will be used to determine whether … … 1696 1696 1697 1697 /** 1698 * Add submenu page to the Pages main menu.1698 * Adds a submenu page to the Pages main menu. 1699 1699 * 1700 1700 * This function takes a capability which will be used to determine whether … … 1720 1720 1721 1721 /** 1722 * Add submenu page to the Comments main menu.1722 * Adds a submenu page to the Comments main menu. 1723 1723 * 1724 1724 * This function takes a capability which will be used to determine whether … … 1744 1744 1745 1745 /** 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' )` 1747 1752 * 1748 1753 * @since 3.1.0 … … 1767 1772 1768 1773 /** 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' )` 1770 1781 * 1771 1782 * @since 3.1.0 … … 1795 1806 1796 1807 /** 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. 1798 1809 * 1799 1810 * If the slug hasn't been registered properly, no URL will be returned.
Note: See TracChangeset
for help on using the changeset viewer.