PATH:
home
/
letacommog
/
latelier-beaute
/
wp-content
/
plugins
/
wordpress-seo
/
admin
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin */ /** * Generates the HTML for an inline Help Button and Panel. */ class WPSEO_Admin_Help_Panel { /** * @var string */ private $id; /** * @var string */ private $help_button_text; /** * @var string */ private $help_content; /** * @var string */ private $wrapper; /** * Constructor. * * @param string $id Unique identifier of the element the inline help refers to, used as an identifier in the html. * @param string $help_button_text The Help Button text. Needs a properly escaped string. * @param string $help_content The Help Panel content. Needs a properly escaped string (might contain HTML). * @param string $wrapper Optional Whether to print out a container div element for the Help Panel, used for styling. * Pass a `has-wrapper` value to print out the container. Default: no container. */ public function __construct( $id, $help_button_text, $help_content, $wrapper = '' ) { $this->id = $id; $this->help_button_text = $help_button_text; $this->help_content = $help_content; $this->wrapper = $wrapper; } /** * Returns the html for the Help Button. * * @return string */ public function get_button_html() { if ( ! $this->id || ! $this->help_button_text || ! $this->help_content ) { return ''; } return sprintf( ' <button type="button" class="yoast_help yoast-help-button dashicons" id="%1$s-help-toggle" aria-expanded="false" aria-controls="%1$s-help"><span class="yoast-help-icon" aria-hidden="true"></span><span class="screen-reader-text">%2$s</span></button>', esc_attr( $this->id ), $this->help_button_text ); } /** * Returns the html for the Help Panel. * * @return string */ public function get_panel_html() { if ( ! $this->id || ! $this->help_button_text || ! $this->help_content ) { return ''; } $wrapper_start = ''; $wrapper_end = ''; if ( 'has-wrapper' === $this->wrapper ) { $wrapper_start = '<div class="yoast-seo-help-container">'; $wrapper_end = '</div>'; } return sprintf( '%1$s<p id="%2$s-help" class="yoast-help-panel">%3$s</p>%4$s', $wrapper_start, esc_attr( $this->id ), $this->help_content, $wrapper_end ); } }
[+]
..
[-] class-yoast-network-settings-api.php
[edit]
[-] class-admin-gutenberg-compatibility-notification.php
[edit]
[-] class-meta-storage.php
[edit]
[-] class-yoast-alerts.php
[edit]
[-] class-primary-term-admin.php
[edit]
[-] class-plugin-conflict.php
[edit]
[-] class-plugin-compatibility.php
[edit]
[+]
metabox
[+]
notifiers
[-] class-export.php
[edit]
[-] class-premium-popup.php
[edit]
[+]
config-ui
[+]
watchers
[-] ajax.php
[edit]
[-] class-asset.php
[edit]
[-] class-suggested-plugins.php
[edit]
[-] class-remote-request.php
[edit]
[-] class-premium-upsell-admin-block.php
[edit]
[+]
statistics
[+]
taxonomy
[-] class-add-keyword-modal.php
[edit]
[-] class-help-center-item.php
[edit]
[+]
formatter
[-] interface-collection.php
[edit]
[-] class-product-upsell-notice.php
[edit]
[-] class-admin-asset-manager.php
[edit]
[-] class-yoast-notification.php
[edit]
[-] class-yoast-modal.php
[edit]
[-] class-extension.php
[edit]
[-] class-bulk-editor-list-table.php
[edit]
[-] class-admin-asset-dev-server-location.php
[edit]
[-] class-database-proxy.php
[edit]
[-] class-admin-user-profile.php
[edit]
[-] class-option-tabs.php
[edit]
[-] class-yoast-network-admin.php
[edit]
[-] index.php
[edit]
[+]
links
[+]
onpage
[-] class-yoast-form.php
[edit]
[-] class-admin-asset-analysis-worker-location.php
[edit]
[-] class-extensions.php
[edit]
[+]
help_center
[-] class-bulk-description-editor-list-table.php
[edit]
[-] class-plugin-availability.php
[edit]
[-] class-admin-media-purge-notification.php
[edit]
[+]
tracking
[-] class-help-center.php
[edit]
[-] class-admin-recommended-replace-vars.php
[edit]
[-] class-yoast-notification-center.php
[edit]
[+]
roles
[-] class-admin-help-panel.php
[edit]
[+]
menu
[-] class-admin.php
[edit]
[-] class-yoast-columns.php
[edit]
[+]
services
[-] class-gutenberg-compatibility.php
[edit]
[-] class-admin-asset-seo-location.php
[edit]
[+]
recalculate
[-] interface-installable.php
[edit]
[-] class-config.php
[edit]
[-] class-keyword-synonyms-modal.php
[edit]
[-] class-social-admin.php
[edit]
[-] class-admin-editor-specific-replace-vars.php
[edit]
[-] class-yoast-dashboard-widget.php
[edit]
[+]
endpoints
[-] class-admin-utils.php
[edit]
[-] class-cornerstone.php
[edit]
[-] class-option-tabs-formatter.php
[edit]
[+]
filters
[+]
pages
[-] class-meta-columns.php
[edit]
[-] class-customizer.php
[edit]
[-] class-recalculate-scores.php
[edit]
[-] class-paper-presenter.php
[edit]
[-] class-option-tab.php
[edit]
[+]
google_search_console
[+]
import
[+]
ajax
[+]
capabilities
[-] class-admin-init.php
[edit]
[+]
listeners
[-] class-admin-asset-yoast-components-l10n.php
[edit]
[-] class-yoast-plugin-conflict.php
[edit]
[-] class-extension-manager.php
[edit]
[-] class-expose-shortlinks.php
[edit]
[-] class-admin-asset-location.php
[edit]
[-] class-license-page-manager.php
[edit]
[-] class-bulk-title-editor-list-table.php
[edit]
[+]
views
[-] class-meta-table-accessible.php
[edit]
[-] class-multiple-keywords-modal.php
[edit]
[-] class-collector.php
[edit]