Toolset Types 3.3.5 Brings a Public Custom Field API


September 5, 2019

This Toolset Types release introduces a new public API for custom field groups and fields in Toolset. It also fixes multiple bugs and improves the existing post-relationship API.

Toolset Custom Field API

You can now use the brand new public API for Toolset custom fields. This allows for deeper integration between Toolset and third-party plugins in the future. You can also use these functions to extend Toolset features into custom-made solutions.

As part of this new API, we are exposing several new PHP interfaces that you can now leverage in your custom code.

Note: At the moment, only the support for post custom fields is available, but we’ll keep extending this API based on your feedback.

Coming Next: Post relationship improvements

In the meantime, the project of extending the post relationship features is underway. Once completed, it will become possible to create relationships between posts of the same type with each other, or relationships where you can have multiple connections between the same two posts.

Improvements and Bugfixes

We implemented the following improvements to the Post Relationship API:

  • Extended the toolset_connect_posts() function with a possibility to specify an already existing intermediary post for a many-to-many relationship.
  • Improved the toolset_get_related_posts() function to allow it to return Repeatable Field Group items sorted by the manual order set in the user interface.

We also fixed the following bugs:

  • Implemented a fix to prevent unnecessary TinyMCE initialization when turning a page in the Related Content metabox. Fixed the styling of pagination controls in various listing pages throughout Toolset.
  • Implemented an internal WPML compatibility fix to replace the deprecated icl_editor_cf_style and icl_editor_cf_name filters.
  • Improved the way to determine which field groups should be displayed for a new post with respect to template conditions.
  • Fortified the shared class autoloader to prevent a rare PHP warning.

Download and Update

If you registered Toolset on your site, you can get this update automatically from the admin. To download plugins manually, go to your Toolset account’s Downloads page.

Don’t forget to backup your site before updating.


Do you plan on using the new Toolset Custom Field API? Have any feedback or suggestions?

Let us know in the comments below and we’ll get back to you!



Comments 19 Responses

  1. Hi there,

    Thanks for the update… this is really great news!

    I wanted to ask if this update or the subsequent update will include support for editing Nested Repeating Field Groups using client side editing forms?


    • Thanks, Andrew! Regarding your question, I presume you are talking about editing forms for nested Repeatable Field Groups created using the Toolset Forms plugin? If so, we don’t have a set timeline for that feature. When it comes to new features, we are currently focusing on the Toolset experience inside the WP Block Editor. This will keep us busy for at least a couple more months, with the production release now being really around the corner.

      So, for your specific request, I don’t have an ETA to share. You can submit this as a feature request to log it officially (all of these are carefully reviewed and “tagged”):


  2. Hi
    I am subscribed to all your newsletters at my Toolset account/profile, but only receive emails about my support tickets. Have you stopped sending out newsletters? I just saw this announcement via your facebook page, but would much rather have it via mail, so I am sure to get…
    Best regards

    • Hi, Andreas! We didn’t stop sending newsletters but we do send them only when we have really big news to share. We concluded there is no need to nuke everyone for smaller updates, like this one today for example.

      In case you want to check to make sure, we sent the last two newsletters to the entire list on July 31st and July 24th. We are also planning a big announcement on Monday and there will definitely be a newsletter for this.

      Kind regards!

    • Hi, Doron! There is no example but that’s on purpose. As the introduction says, this API is for 3rd party (plugin) developers and advanced custom coding.

  3. This is a great update! I think it would be great to add multi step form to Toolset Forms. And The same Toolset Form for multiple CPTs. Are those Features on your Roadmap?

    • We’ve had our eyes on these two features for a long time. We’ve been busy with two huge projects in the last year and a half – the “post relationship” project and the Gutenberg migration. Now we’re close to the end of both mega projects and we’ll be able to work on other projects, like these two. I don’t have a schedule yet, but we haven’t forgotten about these important features.

  4. Is there an ETA on the release at this point? I have a client project that really needs the ability to have related posts of the same time (or really, a many to many relationship between the same CPT).

    • Hi Adam, unfortunately, we don’t have a clear ETA yet. The needed work related to relationships turns out to be quite extensive. We’ll certainly post updates when we have more information, and I expect that there will be beta versions of some of our plugins for you to test at some point.