Does the read_more filter hook still work

Ticket for: Combo Blocks
0
Does the read_more filter hook still work 1
rick3
Jul 17, 2020 05:27 AM 1 Answers
Member Since Mar 2019
Subscribed Subscribe Not subscribe
Flag(0)

I cannot get this code to work in my functions.php file any more. It used to work for me (from the documentation):

function post_grid_filter_grid_item_read_more_extra($read_more){
return $read_more.' Hello';
}

add_filter('post_grid_filter_grid_item_read_more','post_grid_filter_grid_item_read_more_extra');

Also, the permalink filter used to change the link on both the feature image and the read more button. Now the filter still changes the link on the image, but not the read more button.

Any suggestions?

My site is currently still on localhost on a private network, so I can't provide admin details.

2 Subscribers
Does the read_more filter hook still work 1
Does the read_more filter hook still work 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
1
Does the read_more filter hook still work 4
PickPlugins
Jul 17, 2020
Flag(0)

Welcome to our forum.

We have generalized element action hook for better management, please follow this documentation

https://pickplugins.com/documentation/post-grid/action-hooks/post_grid_layout_element_id/

Let me know if you need more help.

Regards

Does the read_more filter hook still work 5
PickPlugins
- Jul 18, 2020 06:14 PM
Flag (0)
0

Glad to know that.

Regards

Does the read_more filter hook still work 6
rick3
- Jul 18, 2020 02:07 AM
Flag (0)
0

Yes, that helped. Thanks!

Sign in to Reply
Replying as Submit