Skip to content

Is module.register scoped to the called file or the rest of the process? #55955

Answered by aduh95
devjiwonchoi asked this question in General
Discussion options

You must be logged in to vote

Calling register() affects the whole thread. A hook can be registered several times but I don't really see a use-case for that.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@devjiwonchoi
Comment options

Answer selected by devjiwonchoi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants