WordPress.org

  • Showcase
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
    Filter by type:
    Search
    Browse: Home / Reference / wp-includes/option.php

    add_site_option_{$option}

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

    Source: wp-includes/option.php:1424

    Used by 1 function | Uses 0 functions

    delete_expired_transients()

    Function: Deletes all expired transients.

    Source: wp-includes/option.php:850

    Used by 2 functions | Uses 7 functions

    pre_cache_alloptions

    Filter Hook: Filters all options before caching them.

    Source: wp-includes/option.php:220

    Used by 1 function | Uses 0 functions

    alloptions

    Filter Hook: Filters all options after retrieving them.

    Source: wp-includes/option.php:232

    Used by 1 function | Uses 0 functions

    filter_default_option()

    Function: Filter the default value for the option.

    Source: wp-includes/option.php:2274

    Used by 0 functions | Uses 1 function

    register_setting_args

    Filter Hook: Filters the registration arguments when registering a setting.

    Source: wp-includes/option.php:2123

    Used by 1 function | Uses 0 functions

    get_registered_settings()

    Function: Retrieves an array of registered settings.

    Source: wp-includes/option.php:2251

    Used by 2 functions | Uses 0 functions

    register_initial_settings()

    Function: Register default settings available in WordPress.

    Source: wp-includes/option.php:1887

    Used by 0 functions | Uses 3 functions

    expiration_of_site_transient_{$transient}

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

    Source: wp-includes/option.php:1830

    Used by 1 function | Uses 0 functions

    update_network_option()

    Function: Update the value of a network option that was already added.

    Source: wp-includes/option.php:1551

    Used by 4 functions | Uses 16 functions

    add_network_option()

    Function: Add a new network option.

    Source: wp-includes/option.php:1336

    Used by 2 functions | Uses 15 functions

    delete_network_option()

    Function: Removes a network option by name.

    Source: wp-includes/option.php:1457

    Used by 2 functions | Uses 11 functions

    get_network_option()

    Function: Retrieve a network’s option value based on the option name.

    Source: wp-includes/option.php:1203

    Used by 9 functions | Uses 12 functions

    expiration_of_transient_{$transient}

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

    Source: wp-includes/option.php:774

    Used by 1 function | Uses 0 functions

    unregister_setting()

    Function: Unregister a setting.

    Source: wp-includes/option.php:2180

    Used by 1 function | Uses 3 functions

    register_setting()

    Function: Register a setting and its data.

    Source: wp-includes/option.php:2095

    Used by 2 functions | Uses 6 functions

    site_transient_{$transient}

    Filter Hook: Filters the value of an existing site transient.

    Source: wp-includes/option.php:1783

    Used by 1 function | Uses 0 functions

    set_site_transient()

    Function: Set/update the value of a site transient.

    Source: wp-includes/option.php:1802

    Used by 13 functions | Uses 11 functions

    pre_set_site_transient_{$transient}

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

    Source: wp-includes/option.php:1815

    Used by 1 function | Uses 0 functions

    set_site_transient_{$transient}

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

    Source: wp-includes/option.php:1863

    Used by 1 function | Uses 0 functions

    setted_site_transient

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

    Source: wp-includes/option.php:1874

    Used by 1 function | Uses 0 functions

    add_site_option()

    Function: Add a new option for the current network.

    Source: wp-includes/option.php:1154

    Used by 3 functions | Uses 1 function

    delete_site_transient()

    Function: Delete a site transient.

    Source: wp-includes/option.php:1676

    Used by 7 functions | Uses 6 functions

    pre_add_site_option_{$option}

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

    Source: wp-includes/option.php:1366

    Used by 1 function | Uses 0 functions

    delete_site_transient_{$transient}

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

    Source: wp-includes/option.php:1687

    Used by 1 function | Uses 0 functions

    add_site_option

    Action Hook: Fires after a network option has been successfully added.

    Source: wp-includes/option.php:1436

    Used by 1 function | Uses 0 functions

    deleted_site_transient

    Action Hook: Fires after a transient is deleted.

    Source: wp-includes/option.php:1708

    Used by 1 function | Uses 0 functions

    delete_site_option()

    Function: Removes a option by name for the current network.

    Source: wp-includes/option.php:1169

    Used by 4 functions | Uses 1 function

    get_site_transient()

    Function: Get the value of a site transient.

    Source: wp-includes/option.php:1727

    Used by 40 functions | Uses 7 functions

    pre_delete_site_option_{$option}

    Action Hook: Fires immediately before a specific network option is deleted.

    Source: wp-includes/option.php:1483

    Used by 1 function | Uses 0 functions
    1 2 3 Next »
    • About
    • Blog
    • Hosting
    • Donate
    • Support
    • Developers
    • Get Involved
    • Showcase
    • Plugins
    • Themes
    • WordCamp
    • WordPress.TV
    • BuddyPress
    • bbPress
    • WordPress.com
    • Matt
    • Privacy
    • Public Code
    • @WordPress
    • WordPress

    Code is Poetry.

    Skip to toolbar
    • About WordPress
      • About WordPress
      • WordPress.org
      • Documentation
      • Support
      • Feedback
    • Log In
    • Register