I’m currently using these functions in my new builds to clean up features I don’t use:
The last function removes all block library and WooCommerce styles, as I don’t use the block editor, and style my e-commerce pages using Elementor.
Advanced Custom Fields Repeaters are infinitely useful, but notoriously hard to display. Many plugins and page builders that allow ACF fields don’t support repeaters.
Faced with having to install and support a reasonably complex plugin only for this one feature, I wrote a shortcode to simply display the fields. It’s pretty simple, and this repeater only has one field.
To display this repeater in Elementor, use the shortcode widget, and enter: [show-required]
It can also be used anywhere else shortcodes are allowed.