开发者 | giangel84 |
---|---|
更新时间 | 2024年5月8日 02:02 |
捐献地址: | 去捐款 |
PHP版本: | 7.4 or later 及以上 |
WordPress版本: | 6.5.3 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
It's easy: Imagine you have a CPT called "Invoices", you can create the status "Paid", "Not Paid" and "Canceled". You can hide the standard core's statuses like "Draft", "Publish", "Private", to have only the custom statuses and a cleaner dropdown. The plugin use the native "register_post_status" WP function to register your custom statuses. It implement a way to show the statuses on the dropdown while editing the post, using jQuery, a feature that WP doesn't support yet natively with the "register_post_status" function. Most part of plugin use Ajax calls, be sure jQuery is active on admin dashboard and that not any other plugin is breaking it. = How to create a new status?