Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Install function in register_activation_hook #59

Open
rafasashi opened this issue Mar 22, 2017 · 0 comments
Open

Install function in register_activation_hook #59

rafasashi opened this issue Mar 22, 2017 · 0 comments

Comments

@rafasashi
Copy link
Contributor

According to https://codex.wordpress.org/Function_Reference/register_activation_hook
the activation hook requires a static function, if inside of a __construct()

Therefor $this cannot be used inside install to call _log_version_number.

Any suggestion to implement the install function properly?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant