Skip to content

Extend oik-loader to support automatic loading of plugins referred to by the post meta field named component #22

@bobbingwide

Description

@bobbingwide

For wp-secrets I've generated several posts which are related to a particular plugin by means of a field called component.
We need to dynamically load the component for any post/page that refers to it, both on the front end and in the editor.

Requirement

To be able to use functionality of the selected plugin which is normally deactivated.

Proposed solution

  • The component field has a field type of noderef; it stores the ID of the related post.
  • From this ID we determine the name of the plugin to be loaded
  • and create entries in the index in the same way as is done for oik-plugins.

The oik-loader-mu will dynamically determine which plugin to activate, if it's not already activated.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions