Clarify usage for plugins #45

Merged
merged 1 commit into from Dec 14, 2013

Conversation

Projects
None yet
1 participant
@rmccue
Owner

rmccue commented Dec 9, 2013

To use the API correctly, the API classes should only be loaded when the plugin is loaded.

This requires splitting API classes into separate files, and only loading them via one of the API hooks (wp_json_before_server, e.g.)

There have been a few people asking about this, so it's definitely something that needs clarifying.

rmccue added a commit that referenced this pull request Dec 14, 2013

@rmccue rmccue merged commit f2aa1e4 into master Dec 14, 2013

@ghost ghost assigned rmccue Dec 14, 2013

@rmccue rmccue deleted the clarify-class-usage branch Dec 14, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment