Skip Navigation

[Gelöst] Cannot find any tutorial about types_register_fields filter

This support ticket is created vor 2 Jahren, 7 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Luo Yang vor 2 Jahren, 7 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#2317775

Hello,
i would like to add a new custom field type by using the types_register_fields filter, but i cannot find any documentation here.
Where can i find it? Thanks

#2318077

Hello,

The document about the types_register_fields filter was removed, what kind of custom field type do you need?

#2318175

Hello,
why was it removed? I need to build an html field that is similar to the html standard field but that be detected by using the cred_filter_field_before_add_to_form filter.
In this way i can, for example, print an heading of one random post or other kind of stuff.

#2319127

That document was outdated and removed.

In your case, you can try the built-in custom WYSIWYG field or Multiple lines field
- WYSIWYG field, support visual editor,
- Multiple lines field, support pure HTML codes

Both of them can be detected by using the cred_filter_field_before_add_to_form filter.