- Timestamp:
- 06/20/2020 12:12:39 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r47550 r48105 118 118 119 119 /** 120 * Filters the tabs shown on the Plugin Installscreen.120 * Filters the tabs shown on the Add Plugins screen. 121 121 * 122 122 * @since 2.7.0 123 123 * 124 * @param string[] $tabs The tabs shown on the Plugin Install screen. Defaults include 'featured', 'popular',125 * 'recommended', 'favorites', and 'upload'.124 * @param string[] $tabs The tabs shown on the Add Plugins screen. Defaults include 125 * 'featured', 'popular', 'recommended', 'favorites', and 'upload'. 126 126 */ 127 127 $tabs = apply_filters( 'install_plugins_tabs', $tabs ); 128 128 129 129 /** 130 * Filters tabs not associated with a menu item on the Plugin Installscreen.130 * Filters tabs not associated with a menu item on the Add Plugins screen. 131 131 * 132 132 * @since 2.7.0 133 133 * 134 * @param string[] $nonmenu_tabs The tabs that don't have a menu item on the Plugin Installscreen.134 * @param string[] $nonmenu_tabs The tabs that don't have a menu item on the Add Plugins screen. 135 135 */ 136 136 $nonmenu_tabs = apply_filters( 'install_plugins_nonmenu_tabs', $nonmenu_tabs ); … … 208 208 209 209 /** 210 * Filters API request arguments for each Plugin Installscreen tab.210 * Filters API request arguments for each Add Plugins screen tab. 211 211 * 212 212 * The dynamic portion of the hook name, `$tab`, refers to the plugin install tabs. … … 215 215 * @since 3.7.0 216 216 * 217 * @param array| bool $args Plugin Install API arguments.217 * @param array|false $args Plugin install API arguments. 218 218 */ 219 219 $args = apply_filters( "install_plugins_table_api_args_{$tab}", $args );
Note: See TracChangeset
for help on using the changeset viewer.