Méthode | Description | |
---|---|---|
current_theme_supports ( string $feature ) : boolean | Checks a theme's support for a given feature | |
delete_auto_description_blog_transient ( string $old_option ) : string | Delete transient for the automatic description for blog on save request. | |
detect_seo_plugins_old ( ) : boolean | Old style method for detecting SEO plugins. | |
echo_debug_information ( mixed $values ) | Echo debug values. | |
exclude_search_ids ( ) : array | Fetches posts with exclude_local_search option on | |
get_current_post_type ( boolean $public = true ) : boolean | string | Returns Post Type from current screen. | |
get_placeholder_title ( string $title = '', array $args = [] ) : string | Build the title based on input, without tagline. | |
get_relative_url ( integer | object $post = null, boolean $external = false, integer $depr = null ) : relative | Generates relative URL for current post_ID. | |
get_term_filter ( object $term, string $taxonomy ) : object | Add term meta data into options table of the term. | |
get_terms_filter ( array $terms, string $taxonomy ) : array | Adds The SEO Framework term meta data to functions that return multiple terms. | |
get_the_archive_title ( ) | Get the archive Title. | |
has_og_plugin ( ) : boolean | Detects if plugins outputting og:type exists | |
has_sitemap_plugin ( ) : boolean | Detecs sitemap plugins | |
homepage_metabox_additions ( ) | HomePage Metabox Additions Tab Output. | |
homepage_metabox_general ( ) | HomePage Metabox General Tab Output. | |
homepage_metabox_robots ( ) | HomePage Metabox Robots Tab Output | |
in_array ( string | array $needle, array $array, $strict = true ) : boolean | Faster way of doing an in_array search compared to default PHP behavior. | |
initialize_defaults ( ) : void | Initializes default settings very early at the after_setup_theme hook Therefore supports is_rtl(). | |
initialize_defaults_admin ( ) : void | Initializes default settings very early at the after_setup_theme hook. | |
is_locale ( string $str, boolean $use_cache = true ) : boolean | Detect WordPress language. | |
ping_yahoo ( ) | Ping Yahoo | |
seo_column ( string $column, integer $post_id, string $tax_id = '' ) | Adds the SEO Bar. | |
setup_sitemap_transient ( $sitemap_content ) | Create sitemap.xml content transient. | |
taxonomy_seo_save ( integer $term_id, integer $tt_id ) : void | Save taxonomy meta data. | |
term_meta_delete ( integer $term_id, integer $tt_id ) | Delete term meta data. | |
the_seo_framework_version ( $version = '' ) : string | Doing it Wrong The SEO Framework version wrapper. | |
the_url_path_default_permalink_structure ( object | integer $post = null, boolean $paged = false, boolean $paged_plural = true ) : string | Creates canonical url for the default permalink structure. | |
title_doing_it_wrong ( ) | Add doing it wrong html code in the footer. | |
wpmudev_domainmap_flush_fix ( boolean $options_saved = false, boolean $flush_now = true ) | Add the WPMUdev Domain Mapping rules again. And flush them on init. |
Méthode | Description | |
---|---|---|
__construct ( ) | Constructor. Loads parent constructor. | |
supported_screens ( array $args = [] ) : array | Helper function for allowed post/page screens where this plugin is active. |
public current_theme_supports ( string $feature ) : boolean | ||
$feature | string | the feature being checked |
Résultat | boolean | Taken from WP Core, but it now returns true on title-tag support. |
public delete_auto_description_blog_transient ( string $old_option ) : string | ||
$old_option | string | The previous blog description option. |
Résultat | string | Previous option. |
public detect_seo_plugins_old ( ) : boolean | ||
Résultat | boolean |
public echo_debug_information ( mixed $values ) | ||
$values | mixed | What to be output. |
public exclude_search_ids ( ) : array | ||
Résultat | array | Excluded Post IDs |
public get_placeholder_title ( string $title = '', array $args = [] ) : string | ||
$title | string | The Title to return |
$args | array | : accepted args : { @param int term_id The Taxonomy Term ID @param bool placeholder Generate placeholder, ignoring options. @param bool page_on_front Page on front condition for example generation } |
Résultat | string | Title without tagline. |
public get_relative_url ( integer | object $post = null, boolean $external = false, integer $depr = null ) : relative | ||
$post | integer | object | The post object or ID. |
$external | boolean | Whether to fetch the WP Request or get the permalink by Post Object. |
$depr | integer | Deprecated The post ID. |
Résultat | relative | Post or Page url. |
public get_the_archive_title ( ) |
public has_og_plugin ( ) : boolean | ||
Résultat | boolean | OG plugin detected. |
public has_sitemap_plugin ( ) : boolean | ||
Résultat | boolean |
public homepage_metabox_additions ( ) |
public homepage_metabox_general ( ) |
public homepage_metabox_robots ( ) |
public initialize_defaults ( ) : void | ||
Résultat | void |
public initialize_defaults_admin ( ) : void | ||
Résultat | void |
public setup_sitemap_transient ( $sitemap_content ) |
protected supported_screens ( array $args = [] ) : array | ||
$args | array | the custom supported screens. |
Résultat | array | $screens |
public term_meta_delete ( integer $term_id, integer $tt_id ) | ||
$term_id | integer | Term ID. |
$tt_id | integer | Taxonomy Term ID. |
public the_seo_framework_version ( $version = '' ) : string | ||
Résultat | string | The SEO Framework version. |
public the_url_path_default_permalink_structure ( object | integer $post = null, boolean $paged = false, boolean $paged_plural = true ) : string | ||
$post | object | integer | The post object or ID. |
$paged | boolean | Whether to add pagination for all types. |
$paged_plural | boolean | Whether to add pagination for the second or later page. |
Résultat | string | The URL path. |
public title_doing_it_wrong ( ) |
public wpmudev_domainmap_flush_fix ( boolean $options_saved = false, boolean $flush_now = true ) | ||
$options_saved | boolean | : If we're in admin and the sanitiation function runs. |
$flush_now | boolean | : Whether to flush directly on call if not yet flushed. Only when $options_saved is false. Runs a flush and updates the site option to "true". When the site option is set to true, it not flush again on init. If $options_saved is true, it will not check for the init action hook and continue, So it will flush the next time on init. |