Access WordPress Plugin Hook

Hi,

My plugin depends on the official WordPress plugin, and I try to use the plugin methods to access WordPress hook invocation from hook registration.
What is the best way to do that? Should I use the getLineMarkerInfo method in WPHookRegistationLineMarkerProvider in the plugin, and pass in the PSI element? I tried it but it returns null.

Regards,
Alan

1 comment
Comment actions Permalink

Hi,

Currently WordPress plugin has no open API, so you can't officially reuse any of its functionality. We may work on making this possible - please contact us via Elena.Shaverdova@jetbrains.com to discuss the nature of your plugin and its dependencies.

Regards,
Elena

0

Please sign in to leave a comment.