Problem:
The issue here is that the user has an edit form link to a Toolset Edit form with a custom post status and once the form sets the custom status on the post the Edit form link no longer appears on the post.
Solution:
We can actually workaround this issue by utilizing one of our internal hooks for Forms.
Add the following to your Toolset Custom Code section in Toolset->Settings->Custom Code. Ensure that you've activated the shortcode by clicking the "activate" link on the snippet.
add_filter( 'toolset_filter_edit_post_link_extra_statuses_allowed', 'ts_edit_link_statuses' ); function ts_edit_link_statuses( $stati ){ $stati[] = 'special'; return $stati; }
Replace "special" with the slug of your custom post status and this should cause the Edit link to now appear.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | - |
- | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 14:00 – 18:00 | 13:00 – 18:00 | - |
Supporter timezone: America/Jamaica (GMT-05:00)
This topic contains 5 replies, has 2 voices.
Last updated by 3 years, 10 months ago.
Assisted by: Shane.