Timeline for Disable default Wordpress widgets in sidebar
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 3, 2020 at 11:07 | history | edited | G.F. | CC BY-SA 4.0 | added 234 characters in body |
| Jul 3, 2020 at 11:02 | comment | added | G.F. | @DenPat not, it's not directly translated as shouldn't. I'm completely disagree with you. You can interpret words like you want. My interpretation is: not recommended but allowed to use. I will edit the post to aware users about it | |
| Jul 3, 2020 at 9:01 | comment | added | Den Pat | that directly translate to shouldn't : This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness. As it says, It is listed here for completeness. they would just not put that notice if you can use that in your theme plugin normally, it's the same as shouldn't, they just didn't use that word. | |
| Jul 2, 2020 at 18:28 | comment | added | G.F. | @DenPat But you can use it, and wordpress gives you that ability. In codex not pointed that you shouldn't use it, just being told "is not intended for use by plugin or theme developers". Please, be precise in expressions :) | |
| Jul 1, 2020 at 8:29 | comment | added | Den Pat | Please check the codex: developer.wordpress.org/reference/functions/… You should not use that function when codex says it, we should not do it. | |
| Jun 30, 2020 at 15:25 | comment | added | G.F. | @DenPat You CAN use it in code directly. And your suggested solution does not work for me | |
| Jun 29, 2020 at 6:08 | comment | added | Den Pat | wp_get_sidebars_widgets is an internal function and you can't use it in your code directly. if you know the widget class there is a better solution: stackoverflow.com/a/9219730/4110112 | |
| Aug 7, 2019 at 21:45 | review | First posts | |||
| Aug 8, 2019 at 1:11 | |||||
| Aug 7, 2019 at 21:42 | history | answered | G.F. | CC BY-SA 4.0 |