Hooks and filters
Quick index
| Hook | Type | What it does |
|---|---|---|
ugly_register_field_types |
action | Register your own field types |
ugly_fields_capability |
filter | Who can build groups |
ugly_options_capability |
filter | Who can use options pages |
ugly_field_groups |
filter | Change the groups that are loaded |
ugly_json_paths |
filter | The folders where ugly-json/ files are read |
ugly_json_save_path |
filter | The folder where they are written |
ugly_blocks_off |
filter | Turn blocks off from code |
ugly_layouts_off |
filter | Hide layouts of a flexible content |
ugly_register_block_args |
filter | The arguments a block is registered with |
ugly_block_template |
filter | The render file of a block |
ugly_editor_toolbars |
filter | Your own toolbars for rich text |
ugly_wysiwyg_allowed_html |
filter | The HTML a rich text field allows |
ugly_foreign_post_types |
filter | Post types that never get a group |
ugly_batch_meta_writes |
filter | Turn off fast writing |
ugly_webp_enabled |
filter | WebP on or off |
ugly_client_ip |
filter | The address of a visitor |
ugly_form_verify |
filter | A captcha, before saving |
ugly_form_tries |
filter | How many tries each visitor gets |
ugly_form_allow_publish |
filter | Let a form publish |
ugly_form_saved |
action | After a form was saved |
ugly_show_upgrade |
filter | Hide the Upgrade button |
ugly_preview_on_site |
filter | Where the Preview of a post shows unsaved field values |
Did this article answer your question?
Thank you. It helps us make the documentation better. Need more help?