OK, this one is obscure. I only post about what I can’t find on Google!
Until recently it has been possible to run command-line PHP scripts that include wp-config.php or wpmu-settings.php, in order to give those scripts access to WordPress globals like $wpdb, functions such as wp_insert_post etc.
These scripts worked with WordPress-MU until recently [...]
Tag Archives: Ajax
How to get your command line PHP script working with WordPress-MU 2.7
Posted in Development, wordpress, wordpress-mu Also tagged command line, php, web server, wordpress, wordpress-mu, wpmu 1 Comment