Submit
Path:
~
/
home
/
getwphos
/
public_html
/
kingpanel
/
wp-content
/
plugins
/
wordpress-seo
/
admin
/
File Content:
class-option-tabs-formatter.php
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin\Options\Tabs */ use Yoast\WP\SEO\Presenters\Admin\Beta_Badge_Presenter; use Yoast\WP\SEO\Presenters\Admin\Premium_Badge_Presenter; /** * Class WPSEO_Option_Tabs_Formatter. */ class WPSEO_Option_Tabs_Formatter { /** * Retrieves the path to the view of the tab. * * @param WPSEO_Option_Tabs $option_tabs Option Tabs to get base from. * @param WPSEO_Option_Tab $tab Tab to get name from. * * @return string */ public function get_tab_view( WPSEO_Option_Tabs $option_tabs, WPSEO_Option_Tab $tab ) { return WPSEO_PATH . 'admin/views/tabs/' . $option_tabs->get_base() . '/' . $tab->get_name() . '.php'; } /** * Outputs the option tabs. * * @param WPSEO_Option_Tabs $option_tabs Option Tabs to get tabs from. * * @return void */ public function run( WPSEO_Option_Tabs $option_tabs ) { echo '<h2 class="nav-tab-wrapper" id="wpseo-tabs">'; foreach ( $option_tabs->get_tabs() as $tab ) { $label = esc_html( $tab->get_label() ); if ( $tab->is_beta() ) { $label = '<span style="margin-right:4px;">' . $label . '</span>' . new Beta_Badge_Presenter( $tab->get_name() ); } elseif ( $tab->is_premium() ) { $label = '<span style="margin-right:4px;">' . $label . '</span>' . new Premium_Badge_Presenter( $tab->get_name() ); } printf( '<a class="nav-tab" id="%1$s" href="%2$s">%3$s</a>', esc_attr( $tab->get_name() . '-tab' ), esc_url( '#top#' . $tab->get_name() ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: we do this on purpose $label, ); } echo '</h2>'; foreach ( $option_tabs->get_tabs() as $tab ) { $identifier = $tab->get_name(); $class = 'wpseotab ' . ( $tab->has_save_button() ? 'save' : 'nosave' ); printf( '<div id="%1$s" class="%2$s">', esc_attr( $identifier ), esc_attr( $class ) ); $tab_filter_name = sprintf( '%s_%s', $option_tabs->get_base(), $tab->get_name() ); /** * Allows to override the content that is display on the specific option tab. * * @internal For internal Yoast SEO use only. * * @param string|null $tab_contents The content that should be displayed for this tab. Leave empty for default behaviour. * @param WPSEO_Option_Tabs $option_tabs The registered option tabs. * @param WPSEO_Option_Tab $tab The tab that is being displayed. */ $option_tab_content = apply_filters( 'wpseo_option_tab-' . $tab_filter_name, null, $option_tabs, $tab ); if ( ! empty( $option_tab_content ) ) { echo wp_kses_post( $option_tab_content ); } if ( empty( $option_tab_content ) ) { // Output the settings view for all tabs. $tab_view = $this->get_tab_view( $option_tabs, $tab ); if ( is_file( $tab_view ) ) { $yform = Yoast_Form::get_instance(); require $tab_view; } } echo '</div>'; } } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
ajax
---
0755
capabilities
---
0755
endpoints
---
0755
exceptions
---
0755
filters
---
0755
formatter
---
0755
google_search_console
---
0755
import
---
0755
listeners
---
0755
menu
---
0755
metabox
---
0755
notifiers
---
0755
pages
---
0755
roles
---
0755
services
---
0755
statistics
---
0755
taxonomy
---
0755
tracking
---
0755
views
---
0755
watchers
---
0755
admin-settings-changed-listener.php
2445 bytes
0644
ajax.php
11429 bytes
0644
class-admin-asset-analysis-worker-location.php
1850 bytes
0644
class-admin-asset-dev-server-location.php
1644 bytes
0644
class-admin-asset-location.php
488 bytes
0644
class-admin-asset-manager.php
21067 bytes
0644
class-admin-asset-seo-location.php
2126 bytes
0644
class-admin-editor-specific-replace-vars.php
6499 bytes
0644
class-admin-gutenberg-compatibility-notification.php
2612 bytes
0644
class-admin-help-panel.php
2762 bytes
0644
class-admin-init.php
10974 bytes
0644
class-admin-recommended-replace-vars.php
6128 bytes
0644
class-admin-user-profile.php
3131 bytes
0644
class-admin-utils.php
2201 bytes
0644
class-admin.php
13036 bytes
0644
class-asset.php
4405 bytes
0644
class-bulk-description-editor-list-table.php
2101 bytes
0644
class-bulk-editor-list-table.php
30139 bytes
0644
class-bulk-title-editor-list-table.php
2287 bytes
0644
class-collector.php
1005 bytes
0644
class-config.php
5045 bytes
0644
class-database-proxy.php
7688 bytes
0644
class-export.php
3545 bytes
0644
class-expose-shortlinks.php
7255 bytes
0644
class-gutenberg-compatibility.php
2529 bytes
0644
class-meta-columns.php
27959 bytes
0644
class-my-yoast-proxy.php
6287 bytes
0644
class-option-tab.php
2268 bytes
0644
class-option-tabs-formatter.php
2906 bytes
0644
class-option-tabs.php
2311 bytes
0644
class-paper-presenter.php
3600 bytes
0644
class-plugin-availability.php
10306 bytes
0644
class-plugin-conflict.php
4141 bytes
0644
class-premium-popup.php
2875 bytes
0644
class-premium-upsell-admin-block.php
8020 bytes
0644
class-primary-term-admin.php
7494 bytes
0644
class-remote-request.php
3203 bytes
0644
class-schema-person-upgrade-notification.php
2286 bytes
0644
class-suggested-plugins.php
4432 bytes
0644
class-wincher-dashboard-widget.php
3616 bytes
0644
class-yoast-columns.php
3606 bytes
0644
class-yoast-dashboard-widget.php
4022 bytes
0644
class-yoast-form.php
36584 bytes
0644
class-yoast-input-validation.php
7378 bytes
0644
class-yoast-network-admin.php
10211 bytes
0644
class-yoast-network-settings-api.php
4242 bytes
0644
class-yoast-notification-center.php
26648 bytes
0644
class-yoast-notification.php
10340 bytes
0644
class-yoast-notifications.php
7813 bytes
0644
class-yoast-plugin-conflict.php
10535 bytes
0644
index.php
38 bytes
0644
interface-collection.php
257 bytes
0644
interface-installable.php
254 bytes
0644
N4ST4R_ID | Naxtarrr