PHP Dynamic Variables

This is otherwise known as “Variable variables”. Let’s begin. Basically in PHP, we assign value to a variable like this: $var = “word”; If we want a variable whose name is the value of the $var variable, we do so like this: $$var = “press”; // $word = “press” PHP parses $$var by first de-referencing … Read more

Drop-ins Plugins

WordPress drop-ins are custom php Must-Use files related to some core files such as db.php, advanced-cache.php and object-cache.php that you can place in the wp-content directory to override the core file with new functionality. List of WordPress Drop-Ins File Type of Plugin Loaded Context advanced-cache.php Advanced caching plugin. on WP_CACHE value Single db.php Custom database … Read more