Reference
Extending
Adapters, deployment drivers, filters.
- Other field plugins: implement
Leiho_Adapter_Interfaceand register it with theleiho_adaptersfilter (Meta Box, JetEngine, Pods…). - Other deployment targets: implement
Leiho_Deploy_Driver_Interfaceand plug it in withleiho_deploy_driver. - WYSIWYG preview:
leiho_wysiwyg_renderreplaceswpautop()with your front end's actual rendering. - Content API:
leiho_content_itemadds or removes data on each item (SEO, author…),leiho_content_post_typeschanges the served types,leiho_content_htmlthe rendered HTML.leiho_content_cacheturns the cache on or off,leiho_content_cache_controlchanges theCache-Controlheader,leiho_purge_third_party_caches(false) skips the built-in purges. An adapter implementingLeiho_Content_Adapter_Interfacefeeds the content API and the types. - Automatic publishing: the
leiho_content_changedaction fires when served content changes.