PHP 클래스 The_SEO_Framework\Load

Extending upon parent classes.
부터: 2.7.1
상속: extends Deprecated, implements the_seo_framework\Debug_Interface
파일 보기 프로젝트 열기: sybrew/the-seo-framework

공개 프로퍼티들

프로퍼티 타입 설명
$script_debug
$the_seo_framework_debug Cached debug/profile properties. Initialized on plugins_loaded priority 5.
$the_seo_framework_debug_hidden
$the_seo_framework_use_transients

공개 메소드들

메소드 설명
__construct ( ) Constructor, setup debug vars and then load parent constructor.
_deprecated_filter ( string $filter, string $version, string $replacement = null ) Mark a filter as deprecated and inform when it has been used.
_deprecated_function ( string $function, string $version, string $replacement = null ) Mark a function as deprecated and inform when it has been used.
_doing_it_wrong ( string $function, string $message, string $version ) Mark a function as deprecated and inform when it has been used.
_inaccessible_p_or_m ( string $p_or_m, string $message = '' ) Mark a property or method inaccessible when it has been used.
call_function ( array | string $callback, string $version = '', array | string $args = [] ) : mixed Wrapper for function calling through parameters. The golden nugget.
debug_init ( string $method, boolean $store, double $debug_key ) : void Debug init. Simplified way of debugging a function, only works in admin.
init_debug_vars ( ) Initializes public debug variables for the class to use.

메소드 상세

__construct() 공개 메소드

Constructor, setup debug vars and then load parent constructor.
public __construct ( )

_deprecated_filter() 공개 메소드

Mark a filter as deprecated and inform when it has been used.
부터: 2.7.1
public _deprecated_filter ( string $filter, string $version, string $replacement = null )
$filter string The function that was called.
$version string The version of WordPress that deprecated the function.
$replacement string Optional. The function that should have been called. Default null.

_deprecated_function() 공개 메소드

Taken from WordPress core, but added extra parameters and linguistic alterations. The current behavior is to trigger a user error if WP_DEBUG is true.
부터: 2.6.0
public _deprecated_function ( string $function, string $version, string $replacement = null )
$function string The function that was called.
$version string The version of WordPress that deprecated the function.
$replacement string Optional. The function that should have been called. Default null.

_doing_it_wrong() 공개 메소드

Taken from WordPress core, but added extra parameters and linguistic alterations. The current behavior is to trigger a user error if WP_DEBUG is true.
부터: 2.6.0
public _doing_it_wrong ( string $function, string $message, string $version )
$function string The function that was called.
$message string A message explaining what has been done incorrectly.
$version string The version of WordPress where the message was added.

_inaccessible_p_or_m() 공개 메소드

The current behavior is to trigger a user error if WP_DEBUG is true.
부터: 2.7.0
public _inaccessible_p_or_m ( string $p_or_m, string $message = '' )
$p_or_m string The Property or Method.
$message string A message explaining what has been done incorrectly.

call_function() 공개 메소드

Wrapper for function calling through parameters. The golden nugget.
부터: 2.2.2
public call_function ( array | string $callback, string $version = '', array | string $args = [] ) : mixed
$callback array | string the method array or function string.
$version string the version of The SEO Framework the function is used.
$args array | string The arguments passed to the function.
리턴 mixed $output The function called.

debug_init() 공개 메소드

Debug init. Simplified way of debugging a function, only works in admin.
부터: 2.6.0
public debug_init ( string $method, boolean $store, double $debug_key ) : void
$method string The function name.
$store boolean Whether to store the output in cache for next run to pick up on.
$debug_key double Use $debug_key as variable, it's reserved.
리턴 void early if debugging is disabled or when storing cache values.

init_debug_vars() 공개 메소드

Initializes public debug variables for the class to use.
부터: 2.6.0
public init_debug_vars ( )

프로퍼티 상세

$script_debug 공개적으로 프로퍼티

public $script_debug

$the_seo_framework_debug 공개적으로 프로퍼티

Cached debug/profile properties. Initialized on plugins_loaded priority 5.
부터: 2.2.9
public $the_seo_framework_debug

$the_seo_framework_debug_hidden 공개적으로 프로퍼티

public $the_seo_framework_debug_hidden

$the_seo_framework_use_transients 공개적으로 프로퍼티

public $the_seo_framework_use_transients