post_updated_messages

post_updated_messages

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('post_updated_messages') is found 1 times:

  • /wp-admin/edit-form-advanced.php line 219
     * @since 3.0.0
     *
     * @param array[] $messages Post updated messages. For defaults see `$messages` declarations above.
     */
    $messages = apply_filters( 'post_updated_messages', $messages );
    
    $message = false;
    if ( isset( $_GET['message'] ) ) {
    	$_GET['message'] = absint( $_GET['message'] );
    	if ( isset( $messages[ $post_type ][ $_GET['message'] ] ) ) {
    		$message = $messages[ $post_type ][ $_GET['message'] ];
    

See this hook used in plugins: