Tag: get

  • How to get rid of undefined index warning in wordpress themes?

    How to get rid of undefined index warning in wordpress themes?

    As a wordpress theme developer, when you are working with WP_DEBUG on, you are most likely to get the following notice: “Notice: Undefined index….some_variable“. This warning is caused by the fact that the variable is empty or unset when the wordpress theme is activated or at some other point. You can solve this warning pretty quick with just […]