Title: Please provide example hooks
Last modified: May 5, 2023

---

# Please provide example hooks

 *  Resolved [svenni](https://wordpress.org/support/users/svenschaetzl/)
 * (@svenschaetzl)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/please-provide-example-hooks/)
 * Hello,
   I just discovered that you introduced some months ago 4 new hooks:2.8.4–
   8 JANUARY 2023 (FREE) New: Four filter hook postx_loop_author_image_only, postx_loop_author_image,
   postx_loop_author_icon and postx_loop_author_by added for showcasing extra author
 * => Please give examples about how to use them (functions.php) to modify the Author
   display. Until now we always had to patch “meta.php” to bring in the images of
   our Authors which was overwritten in every update. This could help solve this
   problem.
   Thanks!Sven

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

 *  [Tonmoy](https://wordpress.org/support/users/azimkhan123/)
 * (@azimkhan123)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/please-provide-example-hooks/#post-16717269)
 * Hello [@svenschaetzl](https://wordpress.org/support/users/svenschaetzl/) ,
 * Thank you for reaching us. Here are the functions:
 * **Multiple Author display function: **
 * apply_filters( ‘postx_loop_author_image_only’, $authorImgOnly, $user_id, $post_id,
   $className);
 * apply_filters( ‘postx_loop_author_image’, $authorImg, $user_id, $post_id, $className);
 * apply_filters( ‘postx_loop_author_icon’, $authorIcon, $user_id, $post_id, $className);
   apply_filters( ‘postx_loop_author_by’, $authorBy, $user_id, $post_id, $className);
   
   Let me know if that helps.
 *  Thread Starter [svenni](https://wordpress.org/support/users/svenschaetzl/)
 * (@svenschaetzl)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/please-provide-example-hooks/#post-16718625)
 * Hi Tonmoy,
 * thank you – this is the first step. An example snippet for each would be helpful,
   so that is is clear what need to be returned.
   Thanks,
 * Sven
 *  [Tonmoy](https://wordpress.org/support/users/azimkhan123/)
 * (@azimkhan123)
 * [3 years ago](https://wordpress.org/support/topic/please-provide-example-hooks/#post-16725785)
 * Hi [@svenschaetzl](https://wordpress.org/support/users/svenschaetzl/) ,
 * Unfortunately, we don’t have any ready-made examples to demonstrate this snippet.
   However, our development team said, in the future, we will be implementing multiple
   author options inside our plugin.

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

The topic ‘Please provide example hooks’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-post/assets/icon-256x256.gif?rev=2540610)
 * [Post Grid Gutenberg Blocks for News, Magazines, Blog Websites - PostX](https://wordpress.org/plugins/ultimate-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-post/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-post/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [Tonmoy](https://wordpress.org/support/users/azimkhan123/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/please-provide-example-hooks/#post-16725785)
 * Status: resolved