Title: Echo in admin panel
Last modified: July 28, 2020

---

# Echo in admin panel

 *  [anakaine](https://wordpress.org/support/users/anakaine/)
 * (@anakaine)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/echo-in-admin-panel/)
 * When creating snippets it can be very helpful to use echo for variable inspection.
   This could be through echoing a simple line to page source, a php variable to
   a javascript console.log command, or similar.
 * Currently it does not seem possible to execute a snippet in the admin area and
   echo to anywhere that is browser accessible.
 * Is it possible, or is it in the plan, to be able to echo when executing a snippet
   in the admin panel?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/echo-in-admin-panel/#post-13260631)
 * I like to include messages in the admin footer, as it’s visible on every admin
   page.
 * Here’s an example:
 *     ```
       add_filter( 'admin_footer_text', function ( $text ) {
   
       	$data = run_some_function();
   
       	var_dump( $data );
   
       	return $text;
       } );
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Echo in admin panel’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/echo-in-admin-panel/#post-13260631)
 * Status: not a support question