Skip Navigation

[Resolved] Add custom status post in post forms

This thread is resolved. Here is a description of the problem and solution.

Problem:
The user would like to use custom statuses in Toolset Forms.

Solution:
Make sure to create the custom statuses and they will be available in Toolset Forms.

Relevant Documentation:
https://codex.wordpress.org/Function_Reference/register_post_status

This support ticket is created 4 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by kongkritY 4 years, 7 months ago.

Assisted by: Jamal.

Author
Posts
#1667973
toolset-forms-custom-post-status in form2.3.png
my post-form.png

I would like to add other statuses to the form post.

I see Form 2.3 Added support for custom status values on post forms.
following https://toolset.com/2019/02/forms-2-3-and-views-2-7-3/

but i use Form 2.5.7 can't added or can tell me about this.

Or I can add custom status post ?

#1668257

Hello and thank you for contacting the Toolset support.

You can add custom post statuses with a custom code that will call the register_post_status function from WordPress. See the documentation here:
https://codex.wordpress.org/Function_Reference/register_post_status

If this is not working for you, let us know and we'll do our best to help you fix it.

#1669245

My issue is resolved now. Thank you!