Tag Archives | Script

Elefant

The unsettling Truth about the Global Unset

In PHP, there is a pitfall when using unset on a global variable within the scope of a function or method. When referred to using the global keyword within a function, unset will not destroy the global variable within the global scope. global $banana; $banana = ‘yellow’; function monkey() { global $banana; unset( $banana ); […]

Continue Reading 0
Screenshot 2022-10-26 at 14-23-12 WordPress Developer Resources Official WordPress Developer Resources

WordPress Core Functions

WordPress has an extended API which is documented in Developer Resources. This comes extremely handy when you are developing your new custom addon. Even though it is absolutely correct to use pure PHP for your implementation, there are several core functions you can use and save time. For example if you wish to load your […]

Continue Reading 0
We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share