New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins: events review #49

Closed
yosymfony opened this Issue Aug 5, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@yosymfony
Copy link
Member

yosymfony commented Aug 5, 2015

Due to the new approach that Spress has taken the events dispatched has changed:

List of new events:

  • spress.before_render_blocks: called just before a item content is rendered.
  • spress.after_render_blocks: called just after a item content is rendered.
  • spress.before_render_page: called just before a item content is rendered with layouts.
  • spress.after_render_page: called just after a item content is rendered with layouts.

List of deleted events:

  • spress.after_convert_posts
  • spress.after_render_pagination
  • spress.before_render_pagination
  • spress.before_render: replaced by spress.before_render_blocks and spress.before_render_page.
  • spress.after_render: replaced by spress.after_render_blocks and spress.after_render_page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment