Title: Make Examples easily replaceable
Last modified: December 14, 2018

---

# Make Examples easily replaceable

 *  Resolved [ohfuchs](https://wordpress.org/support/users/ohfuchs/)
 * (@ohfuchs)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/make-examples-easily-replaceable/)
 * Hi,
 * I like your plugin. Could you please consider adding a hook to `bbpmd_after_editor`
   that prints the help tab content? I know that I could replace the whole function,
   but it doesn’t feel right.
 * thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Markus Echterhoff](https://wordpress.org/support/users/mechter/)
 * (@mechter)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/make-examples-easily-replaceable/#post-11055142)
 * Hey, sorry it took me so long to reply. I forgot to subscribe to this support
   forum and just stumbled upon your post.
 * If I understand correctly, you are looking for a way to replace the contents 
   of the help tab that is a bit cleaner than unhooking `bbpmd_after_editor` and
   replacing it with custom code.
 * How about a `bbpmd_help_content` filter to accompany the existing `bbpmd_help_title`–
   would that do the trick?
 *  Thread Starter [ohfuchs](https://wordpress.org/support/users/ohfuchs/)
 * (@ohfuchs)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/make-examples-easily-replaceable/#post-11068854)
 * No worries 🙂 Yes that would do it just fine!
 *  Plugin Author [Markus Echterhoff](https://wordpress.org/support/users/mechter/)
 * (@mechter)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/make-examples-easily-replaceable/#post-11069617)
 * I’ve added the filter hook and released it as version 1.4 but since the filter
   provided an option to substitute your own help content rather than making changes
   to the default html (which might change without notice), the semantics felt off.
 * I have since released version 1.5 which replaces the filter with an action hook.
   You can now provide your custom help content by unhooking the default action 
   and substituting your own, e.g.
 *     ```
       remove_action( 'bbpmd_help_content', 'bbpmd_display_help_content' );
       add_action( 'bbpmd_help_content', function() { echo 'hi'; } );
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Make Examples easily replaceable’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bbp-markdown.svg)
 * [bbP Markdown](https://wordpress.org/plugins/bbp-markdown/)
 * [Support Threads](https://wordpress.org/support/plugin/bbp-markdown/)
 * [Active Topics](https://wordpress.org/support/plugin/bbp-markdown/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bbp-markdown/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bbp-markdown/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Markus Echterhoff](https://wordpress.org/support/users/mechter/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/make-examples-easily-replaceable/#post-11069617)
 * Status: resolved