Home Execute PHP in WordPress Widgets

    Execute PHP in WordPress Widgets

    0

    While it’s a rather horrible idea, this code will permit you to execute PHP code in WordPress widgets. There’s never a need to use it; use shortcodes instead. However, it may come in handy at some point.

    Again, use shortcodes and enable the widget_text filter as follows:

    Shortt URL for this post: http://shor.tt/1XI5