wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



remove_option_update_handler › WordPress Function

Od2.7.0
Przestarzały3.0.0
remove_option_update_handler ( $option_group, $option_name, $sanitize_callback = '' )
Parametry: (3)
  • (string) $option_group The settings group name used during registration.
    Wymagane: Tak
  • (string) $option_name The name of the option to unregister.
    Wymagane: Tak
  • (callable) $sanitize_callback Optional. Deprecated.
    Wymagane: Nie
    Domyślny: (puste)
Zobacz:
Zdefiniowane na:
Codex:

Unregister a setting



Źródło

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 );
}