WP HOOKS

Opcje

Hooki opcji i ustawień witryny.

27 akcji37 filtrówrazem 64

Popularne w tej kategorii

Filtruje wartość konkretnej opcji przy odczycie — np. option_blogname.

Odpala się po aktualizacji wartości konkretnej opcji — np. update_option_blogname.

Wszystkie hooki

add_optionakcja

Fires before an option is added.

add_option_{$option}akcjadynamiczny

Fires after a specific option has been added.

add_site_optionakcja

Fires after a network option has been successfully added.

add_site_option_{$option}akcjadynamiczny

Fires after a specific network option has been successfully added.

added_optionakcja

Fires after an option has been added.

alloptionsfiltr

Filters all options after retrieving them.

allowed_optionsfiltr

Filters the allowed options list.

available_permalink_structure_tagsfiltr

Filters the list of available permalink structure tags on the Permalinks settings page.

avatar_defaultsfiltr

Filters the default avatars.

blog_privacy_selectorakcja

Enables the legacy 'Site visibility' privacy options.

date_formatsfiltr

Filters the default date formats.

default_avatar_selectfiltr

Filters the HTML output of the default avatar list.

default_option_{$option}filtrdynamiczny

Filters the default value for an option.

default_site_option_{$option}filtrdynamiczny

Filters the value of a specific default network option.

delete_optionakcja

Fires immediately before an option is deleted.

delete_option_{$option}akcjadynamiczny

Fires after a specific option has been deleted.

delete_site_optionakcja

Fires after a network option has been deleted.

delete_site_option_{$option}akcjadynamiczny

Fires after a specific network option has been deleted.

delete_site_transient_{$transient}akcjadynamiczny

Fires immediately before a specific site transient is deleted.

delete_transient_{$transient}akcjadynamiczny

Fires immediately before a specific transient is deleted.

deleted_optionakcja

Fires after an option has been deleted.

deleted_site_transientakcja

Fires after a transient is deleted.

deleted_transientakcja

Fires after a transient is deleted.

enable_post_by_email_configurationfiltr

Filters whether the post-by-email functionality is enabled.

enable_update_services_configurationfiltr

Filters whether to enable the Update Services section in the Writing settings screen.

expiration_of_site_transient_{$transient}filtrdynamiczny

Filters the expiration for a site transient before its value is set.

expiration_of_transient_{$transient}filtrdynamiczny

Filters the expiration for a transient before its value is set.

option_{$option}filtrdynamiczny

Filters the value of an existing option.

option_page_capability_{$option_page}filtrdynamiczny

Filters the capability required when using the Settings API.

pre_add_site_option_{$option}filtrdynamiczny

Filters the value of a specific network option before it is added.

pre_cache_alloptionsfiltr

Filters all options before caching them.

pre_delete_site_option_{$option}akcjadynamiczny

Fires immediately before a specific network option is deleted.

pre_optionfiltr

Filters the value of any existing option before it is retrieved.

pre_option_{$option}filtrdynamiczny

Filters the value of an existing option before it is retrieved.

pre_set_site_transient_{$transient}filtrdynamiczny

Filters the value of a specific site transient before it is set.

pre_set_transient_{$transient}filtrdynamiczny

Filters a specific transient before its value is set.

pre_site_optionfiltr

Filters the value of any existing network option before it is retrieved.

pre_site_option_{$option}filtrdynamiczny

Filters the value of an existing network option before it is retrieved.

pre_site_transient_{$transient}filtrdynamiczny

Filters the value of an existing site transient before it is retrieved.

pre_transient_{$transient}filtrdynamiczny

Filters the value of an existing transient before it is retrieved.

pre_update_optionfiltr

Filters an option before its value is (maybe) serialized and updated.

pre_update_option_{$option}filtrdynamiczny

Filters a specific option before its value is (maybe) serialized and updated.

pre_update_site_option_{$option}filtrdynamiczny

Filters a specific network option before its value is updated.

pre_wp_load_alloptionsfiltr

Filters the array of alloptions before it is populated.

register_settingakcja

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

register_setting_argsfiltr

Filters the registration arguments when registering a setting.

set_site_transientakcja

Fires after the value for a site transient has been set.

set_site_transient_{$transient}akcjadynamiczny

Fires after the value for a specific site transient has been set.

set_transientakcja

Fires after the value for a transient has been set.

set_transient_{$transient}akcjadynamiczny

Fires after the value for a specific transient has been set.

site_option_{$option}filtrdynamiczny

Filters the value of an existing network option.

site_transient_{$transient}filtrdynamiczny

Filters the value of an existing site transient.

thread_comments_depth_maxfiltr

Filters the maximum depth of threaded/nested comments.

time_formatsfiltr

Filters the default time formats.

transient_{$transient}filtrdynamiczny

Filters an existing transient's value.

unregister_settingakcja

Fires immediately before the setting is unregistered and after its filters have been removed.

update_optionakcja

Fires immediately before an option value is updated.

update_option_{$option}akcjadynamiczny

Fires after the value of a specific option has been successfully updated.

update_site_optionakcja

Fires after the value of a network option has been successfully updated.

update_site_option_{$option}akcjadynamiczny

Fires after the value of a specific network option has been successfully updated.

updated_optionakcja

Fires after the value of an option has been successfully updated.

wp_autoload_values_to_autoloadfiltr

Filters the autoload values that should be considered for autoloading from the options table.

wp_default_autoload_valuefiltr

Allows to determine the default autoload value for an option where no explicit value is passed.

wp_max_autoloaded_option_sizefiltr

Filters the maximum size of option value in bytes.