Uma área de pesquisa sobre o WordPress para devs e autores do tema



remove_option_update_handler ›

Desde2.7.0
Obsoleto3.0.0
remove_option_update_handler ( $option_group, $option_name, $sanitize_callback = '' )
Parâmetros: (3)
  • (string) $option_group
    Required: Yes
  • (string) $option_name
    Required: Yes
  • (callable) $sanitize_callback
    Required: No
    Padrão: (empty)
Ver:
Definido em:
Codex:

Unregister a setting



Fonte

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