Title: Remove new message button
Last modified: August 30, 2016

---

# Remove new message button

 *  Resolved [WPSeeker](https://wordpress.org/support/users/wpseeker/)
 * (@wpseeker)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/remove-new-message-button/)
 * Hi
 * Thanks for creating this plugin.
 * I want to be able to remove the new message button but not the functionality 
   to send new messages.
 * I just want them to choose a name in the directory from a predetermined list 
   of users in order to send a message.
 * How can I achieve this? I have the code to select the users, I just need to remove
   the add message button.
 * [https://wordpress.org/plugins/front-end-pm/](https://wordpress.org/plugins/front-end-pm/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [WPSeeker](https://wordpress.org/support/users/wpseeker/)
 * (@wpseeker)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/remove-new-message-button/#post-6613876)
 * Never mind, I figured it out. Here is the code for anyone who needs it.
 * `remove_action('fep_menu_button', array(fep_menu_class::init(), 'newmessage'));`

Viewing 1 replies (of 1 total)

The topic ‘Remove new message button’ is closed to new replies.

 * ![](https://ps.w.org/front-end-pm/assets/icon-256x256.gif?rev=2309447)
 * [Front End PM](https://wordpress.org/plugins/front-end-pm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/front-end-pm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/front-end-pm/)
 * [Active Topics](https://wordpress.org/support/plugin/front-end-pm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/front-end-pm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/front-end-pm/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [WPSeeker](https://wordpress.org/support/users/wpseeker/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/remove-new-message-button/#post-6613876)
 * Status: resolved