wpseek.com
A WordPress-centric search engine for devs and theme authors
show_message › WordPress Function
Since2.1.0
Deprecatedn/a
› show_message ( $message )
Parameters: |
|
Defined at: |
|
Codex: |
Displays the given administration message.
Source
function show_message( $message ) { if ( is_wp_error( $message ) ) { if ( $message->get_error_data() && is_string( $message->get_error_data() ) ) { $message = $message->get_error_message() . ': ' . $message->get_error_data(); } else { $message = $message->get_error_message(); } } echo "<p>$message</p>\n"; wp_ob_end_flush_all(); flush(); }