WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about excerpt_save_pre

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php apply_filters 723 /**
* Sanitize an input.
* Note that parent::sanitize() erroneously does wp_unslash() on $value, but
* we remove that in this override.
* @since 4.3.0
* @since 5.9.0 Renamed `$menu_item_value` to `$value` for PHP 8 named parameter support.
* @param array $value The menu item value to sanitize.
* @return array|false|null|WP_Error Null or WP_Error if an input isn't valid. False if it is marked for deletion.
* Otherwise the sanitized value.

Hook Parameters

Parameter Type Name Description