Skip to content

How to modify sidebar in hooks? #257

Answered by meteorlxy
shanyuhai123 asked this question in Q&A
Discussion options

You must be logged in to vote

In onInitialized hook

Theme is loaded before initialization, so you can't modify theme config in plugin hooks.

In fact, it makes no sence to make a plugin only for the default theme. A plugin should provide its own functionality, no matter what theme the user is using

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@shanyuhai123
Comment options

@meteorlxy
Comment options

@meteorlxy
Comment options

@shanyuhai123
Comment options

Answer selected by Mister-Hope
Comment options

You must be logged in to vote
2 replies
@shanyuhai123
Comment options

@Mister-Hope
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants