Alchemy Options Docs
v0.9
v0.9
  • Read Me
  • Installation
  • Configuration
  • Meta Boxes
  • Theme mode
  • Samples
  • Field types
    • Text
    • Password
    • URL
    • Email
    • Tel
    • Textarea
    • Editor (WYSIWYG)
    • Datepicker
    • Image upload
    • Radio buttons
    • Select
    • Checkbox
    • Colorpicker
    • Image radio
    • Post type select
    • Datalist
    • Sections
    • Repeater
    • Button group
    • Slider
    • Taxonomy select
    • Field group
  • Functions
    • alch_options_id
    • alch_network_options_id
    • alch_get_option
    • alch_get_network_option
    • alch_delete_value
    • alch_get_post_meta
  • Javascript
    • getOption
    • getNetworkOption
    • getPostMeta
  • Filters
    • alch_options_id
    • alch_network_options_id
    • alch_options_id() . '_args'
    • alch_network_options_id() . '_args'
    • alch_allowed_editor_html_tags
    • alch_allowed_editor_protocols
    • alch_value_{ $optionID }
    • alch_network_value_{ $optionID }
Powered by GitBook
On this page
  1. Filters

alch_network_options_id

Previousalch_options_idNextalch_options_id() . '_args'

Last updated 4 years ago

Filter alch_network_options_id is similar to . It can be used to change the default network configuration option name, which is alchemy_network_options.

Example

//somewhere in functions.php

function change_default_alchemy_options_network_option() {
    return 'my-new-network-options-id';
}

add_filter( 'alch_network_options_id', 'change_default_alchemy_options_network_option' );

Thus, the Alchemy Options will get the new ID when it calls the .

alch_options_id
alch_network_options_id function