Title: Callback content
Last modified: May 26, 2023

---

# Callback content

 *  Resolved [Flavio Henrique](https://wordpress.org/support/users/flavimhoa/)
 * (@flavimhoa)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/callback-content/)
 * Hello everyone, everything good? Would it be possible for me to define a callback
   to open no menu?
 * I want to put a report inside one of the Redux framework menus, would that be
   possible?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kev Provance](https://wordpress.org/support/users/kprovance/)
 * (@kprovance)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/callback-content/#post-16769832)
 * I’m not sure exactly what you mean. If you are talking about a menu directly 
   in the admin panel, you’d be better off just using the WordPress API `add_menu_page`
   to create a menu item and use its callback. If you’re talking about a submenu
   item, it would still be easier to use the WordPress API `add_submenu_page`and
   its callback. If it’s a submenu already created by Redux, the only solution I
   can think of, untested, is to use custom JavaScript to capture the click event
   on that specific menu item, halt it with preventDefault and use AJAX to run whatever
   PHP you needed.
 *  It’s advanced stuff that’d require some JavaScript and PHP know-how.
 * Good luck.

Viewing 1 replies (of 1 total)

The topic ‘Callback content’ is closed to new replies.

 * ![](https://ps.w.org/redux-framework/assets/icon.svg?rev=2889347)
 * [Redux Framework](https://wordpress.org/plugins/redux-framework/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redux-framework/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redux-framework/)
 * [Active Topics](https://wordpress.org/support/plugin/redux-framework/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redux-framework/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redux-framework/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kev Provance](https://wordpress.org/support/users/kprovance/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/callback-content/#post-16769832)
 * Status: resolved