| | 80 | |
| | 81 | $tabs = array( 'upload' => __( 'Upload Plugin' ) ); |
| | 82 | /** |
| | 83 | * Filter the tabs shown on the Plugin Install screen. |
| | 84 | * |
| | 85 | * @since 2.7.0 |
| | 86 | * |
| | 87 | * @param array $tabs The tabs shown on the Plugin Install screen. Defaults are 'dashboard', 'search', |
| | 88 | * 'upload', 'featured', 'popular', 'new', and 'favorites'. |
| | 89 | */ |
| | 90 | $tabs = apply_filters( 'install_plugins_tabs', $tabs ); |
| | 91 | if ( isset( $tabs['upload'] ) ) { |
| | 92 | ?> |
| | 93 | <a href="<?php echo $href; ?>" class="upload add-new-h2"><?php echo $tabs['upload']; ?></a> |
| | 94 | <?php |
| | 95 | } |