Timeline for Removing Plugin Action via Theme for Non-admins
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 10, 2020 at 23:56 | comment | added | Yashar |
Welcome to the community. When using remove_action() to remove a hooked method of an instance of a class ($this), you should get that instance first! See this: remove_action or remove_filter with external classes?
|
|
Feb 10, 2020 at 23:45 | review | Close votes | |||
Feb 26, 2020 at 3:05 | |||||
S Feb 10, 2020 at 20:52 | history | suggested | Dmitry Mayorov | CC BY-SA 4.0 |
Code formatting. Easier to read with proper indentation.
|
Feb 10, 2020 at 19:07 | comment | added | Charles |
Welcome to WPSE, perhaps helps it when you add global $your_class_name; inside the function to get access to the class object instance at all. And replacing $this also with $your_class_name?
|
|
Feb 10, 2020 at 19:02 | review | Suggested edits | |||
S Feb 10, 2020 at 20:52 | |||||
Feb 10, 2020 at 18:40 | review | First posts | |||
Feb 10, 2020 at 18:56 | |||||
Feb 10, 2020 at 18:38 | history | asked | mycredhelp | CC BY-SA 4.0 |