Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/option.php / Page 3

update_option

Action Hook: Fires immediately before an option value is updated.

Source: wp-includes/option.php:510

Used by 1 function | Uses 0 functions

delete_transient()

Function: Deletes a transient.

Source: wp-includes/option.php:801

Used by 6 functions | Uses 5 functions

update_option_{$option}

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

Source: wp-includes/option.php:554

Used by 1 function | Uses 0 functions

delete_transient_{$transient}

Action Hook: Fires immediately before a specific transient is deleted.

Source: wp-includes/option.php:812

Used by 1 function | Uses 0 functions

updated_option

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

Source: wp-includes/option.php:565

Used by 1 function | Uses 0 functions

add_option()

Function: Adds a new option.

Source: wp-includes/option.php:594

Used by 6 functions | Uses 15 functions

add_option

Action Hook: Fires before an option is added.

Source: wp-includes/option.php:662

Used by 1 function | Uses 0 functions

add_option_{$option}

Action Hook: Fires after a specific option has been added.

Source: wp-includes/option.php:698

Used by 1 function | Uses 0 functions

wp_load_alloptions()

Function: Loads and caches all autoloaded options, if available or all options.

Source: wp-includes/option.php:301

Used by 9 functions | Uses 7 functions

added_option

Action Hook: Fires after an option has been added.

Source: wp-includes/option.php:708

Used by 1 function | Uses 0 functions

wp_load_core_site_options()

Function: Loads and caches certain often requested site options if is_multisite() and a persistent cache is not being used.

Source: wp-includes/option.php:356

Used by 0 functions | Uses 8 functions

delete_option()

Function: Removes option by name. Prevents removal of protected WordPress options.

Source: wp-includes/option.php:723

Used by 26 functions | Uses 9 functions

update_option()

Function: Updates the value of an option that was already added.

Source: wp-includes/option.php:408

Used by 76 functions | Uses 15 functions

delete_option

Action Hook: Fires immediately before an option is deleted.

Source: wp-includes/option.php:749

Used by 1 function | Uses 0 functions

pre_update_option_{$option}

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

Source: wp-includes/option.php:463

Used by 1 function | Uses 0 functions

delete_option_{$option}

Action Hook: Fires after a specific option has been deleted.

Source: wp-includes/option.php:776

Used by 1 function | Uses 0 functions

pre_update_option

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

Source: wp-includes/option.php:474

Used by 1 function | Uses 0 functions

get_option()

Function: Retrieves an option value based on an option name.

Source: wp-includes/option.php:78

Used by 344 functions | Uses 14 functions

pre_option_{$option}

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

Source: wp-includes/option.php:132

Used by 1 function | Uses 0 functions

default_option_{$option}

Filter Hook: Filters the default value for an option.

Source: wp-includes/option.php:188

Used by 3 functions | Uses 0 functions

option_{$option}

Filter Hook: Filters the value of an existing option.

Source: wp-includes/option.php:253

Used by 1 function | Uses 0 functions

wp_protect_special_option()

Function: Protects WordPress special option from being modified.

Source: wp-includes/option.php:266

Used by 5 functions | Uses 3 functions

form_option()

Function: Prints option value after sanitizing for forms.

Source: wp-includes/option.php:285

Used by 0 functions | Uses 2 functions
Previous 1 2 3
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry