PHP 클래스 The_SEO_Framework\Deprecated

Contains all deprecated functions.
부터: 2.7.1
상속: extends Feed
파일 보기 프로젝트 열기: sybrew/the-seo-framework

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
__construct ( ) Constructor. Loads parent constructor.
supported_screens ( array $args = [] ) : array Helper function for allowed post/page screens where this plugin is active.

메소드 상세

__construct() 보호된 메소드

Constructor. Loads parent constructor.
protected __construct ( )

current_theme_supports() 공개 메소드

Checks a theme's support for a given feature
사용 중단:
부터: 2.2.5
부터: 2.6.0
public current_theme_supports ( string $feature ) : boolean
$feature string the feature being checked
리턴 boolean Taken from WP Core, but it now returns true on title-tag support.

delete_auto_description_blog_transient() 공개 메소드

Returns old option, since that's passed for sanitation within WP Core.
사용 중단:
부터: 2.3.3
부터: 2.7.0
public delete_auto_description_blog_transient ( string $old_option ) : string
$old_option string The previous blog description option.
리턴 string Previous option.

detect_seo_plugins_old() 공개 메소드

Old style method for detecting SEO plugins.
사용 중단:
부터: 2.6.1
부터: 2.6.1
public detect_seo_plugins_old ( ) : boolean
리턴 boolean

echo_debug_information() 공개 메소드

Echo debug values.
사용 중단:
부터: 2.3.4
부터: 2.6.0 Deprecated.
부터: 2.7.1 Removed output, as it's no longer available.
public echo_debug_information ( mixed $values )
$values mixed What to be output.

exclude_search_ids() 공개 메소드

Fetches posts with exclude_local_search option on
사용 중단:
부터: 2.1.7
부터: 2.7.0 Deprecated.
public exclude_search_ids ( ) : array
리턴 array Excluded Post IDs

get_current_post_type() 공개 메소드

Returns Post Type from current screen.
사용 중단:
부터: 2.6.0
부터: 2.6.1
public get_current_post_type ( boolean $public = true ) : boolean | string
$public boolean Whether to only get Public Post types.
리턴 boolean | string The Post Type

get_placeholder_title() 공개 메소드

Note: Not escaped.
사용 중단:
부터: 2.4.0
부터: 2.6.0
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 }
리턴 string Title without tagline.

get_relative_url() 공개 메소드

Generates relative URL for current post_ID.
사용 중단:
부터: 2.3.0
부터: 2.6.5
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.
리턴 relative Post or Page url.

get_term_filter() 공개 메소드

Adds separated database options for terms, as the terms table doesn't allow for addition. Applies filters array the_seo_framework_term_meta_defaults : Array of default term SEO options Applies filters mixed the_seo_framework_term_meta_{field} : Override filter for specifics. Applies filters array the_seo_framework_term_meta : Override output for term or taxonomy.
사용 중단: silently.
부터: 2.1.8
public get_term_filter ( object $term, string $taxonomy ) : object
$term object Database row object.
$taxonomy string Taxonomy name that $term is part of.
리턴 object $term Database row object.

get_terms_filter() 공개 메소드

Adds The SEO Framework term meta data to functions that return multiple terms.
사용 중단: silently.
부터: 2.0.0
public get_terms_filter ( array $terms, string $taxonomy ) : array
$terms array Database row objects.
$taxonomy string Taxonomy name that $terms are part of.
리턴 array $terms Database row objects.

get_the_archive_title() 공개 메소드

WordPress core function @since 4.1.0
사용 중단:
부터: 2.3.6
부터: 2.6.0

has_og_plugin() 공개 메소드

Detects if plugins outputting og:type exists
사용 중단:
부터: 1.3.0
부터: 2.2.5
부터: 2.6.1
public has_og_plugin ( ) : boolean
리턴 boolean OG plugin detected.

has_sitemap_plugin() 공개 메소드

Detecs sitemap plugins
사용 중단:
부터: 2.1.0
부터: 2.6.1
public has_sitemap_plugin ( ) : boolean
리턴 boolean

homepage_metabox_additions() 공개 메소드

HomePage Metabox Additions Tab Output.
사용 중단:
부터: 2.6.0
부터: 2.7.0

homepage_metabox_general() 공개 메소드

HomePage Metabox General Tab Output.
사용 중단:
부터: 2.6.0
부터: 2.7.0

homepage_metabox_robots() 공개 메소드

HomePage Metabox Robots Tab Output
사용 중단:
부터: 2.6.0
부터: 2.7.0

in_array() 공개 메소드

Faster way of doing an in_array search compared to default PHP behavior.
사용 중단:
부터: 2.5.2
부터: 2.7.0 Deprecated.
public in_array ( string | array $needle, array $array, $strict = true ) : boolean
$needle string | array The needle(s) to search for
$array array The single dimensional array to search in.
리턴 boolean true if value is in array.

initialize_defaults() 공개 메소드

Initializes default settings very early at the after_setup_theme hook Therefore supports is_rtl().
사용 중단:
부터: 2.5.0
부터: 2.6.0
public initialize_defaults ( ) : void
리턴 void

initialize_defaults_admin() 공개 메소드

Admin only.
사용 중단:
부터: 2.5.0
부터: 2.6.0
public initialize_defaults_admin ( ) : void
리턴 void

is_locale() 공개 메소드

Considers en_UK, en_US, etc.
사용 중단:
부터: 2.3.8
부터: 2.6.0
public is_locale ( string $str, boolean $use_cache = true ) : boolean
$str string Required, the locale.
$use_cache boolean Set to false to bypass the cache.
리턴 boolean

ping_yahoo() 공개 메소드

Ping Yahoo
사용 중단:
부터: 2.2.9
부터: 2.6.0
public ping_yahoo ( )

seo_column() 공개 메소드

Adds the SEO Bar.
사용 중단:
부터: 2.1.9
부터: 2.6.0
public seo_column ( string $column, integer $post_id, string $tax_id = '' )
$column string the current column : If it's a taxonomy, this is empty
$post_id integer the post id : If it's a taxonomy, this is the column name
$tax_id string this is empty : If it's a taxonomy, this is the taxonomy id

setup_sitemap_transient() 공개 메소드

Create sitemap.xml content transient.
사용 중단:
부터: 2.2.9
부터: 2.6.0
public setup_sitemap_transient ( $sitemap_content )

supported_screens() 보호된 메소드

Helper function for allowed post/page screens where this plugin is active.
사용 중단:
부터: 2.1.9 Applies filters the_seo_framework_supported_screens : The supported administration screens where css and javascript files are loaded.
부터: 2.5.2
protected supported_screens ( array $args = [] ) : array
$args array the custom supported screens.
리턴 array $screens

taxonomy_seo_save() 공개 메소드

Fires when a user edits and saves a taxonomy.
사용 중단: silently.
부터: 2.1.8
public taxonomy_seo_save ( integer $term_id, integer $tt_id ) : void
$term_id integer Term ID.
$tt_id integer Term Taxonomy ID.
리턴 void Early on AJAX call.

term_meta_delete() 공개 메소드

Fires when a user deletes a term.
사용 중단: silently.
부터: 2.1.8
public term_meta_delete ( integer $term_id, integer $tt_id )
$term_id integer Term ID.
$tt_id integer Taxonomy Term ID.

the_seo_framework_version() 공개 메소드

Doing it Wrong The SEO Framework version wrapper.
사용 중단:
부터: 2.3.0
부터: 2.6.6
public the_seo_framework_version ( $version = '' ) : string
리턴 string The SEO Framework version.

title_doing_it_wrong() 공개 메소드

Add doing it wrong html code in the footer.
사용 중단:
부터: 2.2.5
부터: 2.5.2.1

wpmudev_domainmap_flush_fix() 공개 메소드

Domain Mapping bugfix.
사용 중단:
부터: 2.3.0
부터: 2.6.3
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.