wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



remove_option_update_handler › WordPress Function

Da2.7.0
Deprecato3.0.0
remove_option_update_handler ( $option_group, $option_name, $sanitize_callback = '' )
Parametri: (3)
  • (string) $option_group The settings group name used during registration.
    Richiesto:
  • (string) $option_name The name of the option to unregister.
    Richiesto:
  • (callable) $sanitize_callback Optional. Deprecated.
    Richiesto: No
    Default: (vuoto)
Vedi:
Definito a:
Codex:

Unregister a setting



Sorgenti

function remove_option_update_handler( $option_group, $option_name, $sanitize_callback = '' ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'unregister_setting()' );
	unregister_setting( $option_group, $option_name, $sanitize_callback );
}