removable_query_args

最后更新于:2021-11-27 23:30:00

apply_filters( ‘removable_query_args’, string[] $removable_query_args )

Filters the list of query variable names to remove.

参数

$removable_query_args

(string[])
An array of query variable names to remove from a URL.

源文件

文件: gc-includes/functions.php

View on Trac

registration_redirect

最后更新于:2021-11-27 21:46:58

apply_filters( ‘registration_redirect’, string $registration_redirect )

Filters the registration redirect URL.

参数

$registration_redirect

(string)
The redirect destination URL.

源文件

文件: gc-login.php

View on Trac

registration_errors

最后更新于:2021-11-27 21:46:46

apply_filters( ‘registration_errors’, GC_Error $errors, string $sanitized_user_login, string $user_email )

Filters the errors encountered when a new user is being registered.

参数

$errors

(GC_Error)
A GC_Error object containing any errors encountered during registration.

$sanitized_user_login

(string)
User’s username after it has been sanitized.

$user_email

(string)
User’s email.

源文件

文件: gc-includes/user.php

View on Trac

register_url

最后更新于:2021-11-27 21:46:33

apply_filters( ‘register_url’, string $register )

Filters the user registration URL.

参数

$register

(string)
The user registration URL.

源文件

文件: gc-includes/general-template.php

View on Trac

register_taxonomy_args

最后更新于:2021-11-27 21:46:16

apply_filters( ‘register_taxonomy_args’, array $args, string $taxonomy, string[] $object_type )

Filters the arguments for registering a taxonomy.

参数

$args

(array)
Array of arguments for registering a taxonomy. See the register_taxonomy() function for accepted arguments.

$taxonomy

(string)
Taxonomy key.

$object_type

(string[])
Array of names of object types for the taxonomy.

源文件

文件: gc-includes/class-gc-taxonomy.php

View on Trac

register_sidebar_defaults

最后更新于:2021-11-27 21:46:01

apply_filters( ‘register_sidebar_defaults’, array $defaults )

Filters the sidebar default arguments.

参数

$defaults

(array)
The default sidebar arguments.

源文件

文件: gc-includes/widgets.php

View on Trac

register_sidebar

最后更新于:2021-11-27 21:45:45

do_action( ‘register_sidebar’, array $sidebar )

Fires once a sidebar has been registered.

参数

$sidebar

(array)
Parsed arguments for the registered sidebar.

源文件

文件: gc-includes/widgets.php

View on Trac

register_setting_args

最后更新于:2021-11-27 21:45:28

apply_filters( ‘register_setting_args’, array $args, array $defaults, string $option_group, string $option_name )

Filters the registration arguments when registering a setting.

参数

$args

(array)
Array of setting registration arguments.

$defaults

(array)
Array of default arguments.

$option_group

(string)
Setting group.

$option_name

(string)
Setting name.

源文件

文件: gc-includes/option.php

View on Trac

register_setting

最后更新于:2021-11-27 21:45:10

do_action( ‘register_setting’, string $option_group, string $option_name, array $args )

Fires immediately before the setting is registered but after its filters are in place.

参数

$option_group

(string)
Setting group.

$option_name

(string)
Setting name.

$args

(array)
Array of setting registration arguments.

源文件

文件: gc-includes/option.php

View on Trac

register_post_type_args

最后更新于:2021-11-27 21:45:01

apply_filters( ‘register_post_type_args’, array $args, string $post_type )

Filters the arguments for registering a post type.

参数

$args

(array)
Array of arguments for registering a post type. See the register_post_type() function for accepted arguments.

$post_type

(string)
Post type key.

源文件

文件: gc-includes/class-gc-post-type.php

View on Trac