Download the PHP package kaiseki/wp-plugin-ninja-forms without Composer
On this page you can find all versions of the php package kaiseki/wp-plugin-ninja-forms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kaiseki/wp-plugin-ninja-forms
More information about kaiseki/wp-plugin-ninja-forms
Files in kaiseki/wp-plugin-ninja-forms
Package wp-plugin-ninja-forms
Short Description WordPress helpers for the Ninja Forms plugin: register field template paths and remove the append-a-form metabox in the block editor
License MIT
Homepage https://github.com/kaisekidev/kaiseki-wp-plugin-ninja-forms
Informations about the package wp-plugin-ninja-forms
kaiseki/wp-plugin-ninja-forms
WordPress helpers for the Ninja Forms plugin: register field template paths and remove the append-a-form metabox in the block editor.
Two kaiseki/wp-hook HookProviderInterfaces wired through ConfigProvider, both no-ops unless the
Ninja Forms plugin is active:
AddTemplatePaths— registers extra field-template directories with Ninja Forms (theninja_forms_field_template_file_pathsfilter).RemoveAppendFormMetabox— removes the "append a form" metabox from the block editor, optionally limited to specific post types.
Installation
Requires PHP 8.2 or newer.
Usage
Register ConfigProvider with your laminas-style config aggregator, configure the ninja_forms key,
and activate the providers you want via kaiseki/wp-hook:
ConfigProvider registers the factories for both providers; each reads its slice of the ninja_forms
config from the container. Plugin::isActive() gates the metabox removal so nothing runs when Ninja
Forms is inactive.
Development
License
MIT — see LICENSE.
All versions of wp-plugin-ninja-forms with dependencies
kaiseki/config Version ^2.0
kaiseki/wp-hook Version ^2.0
psr/container Version ^1.1 || ^2.0