dbDelta with the character ;

That happens for this reason : The function dbDelta can receive as first parameter ($queries) an array or a string. If $queries is a string, dbDelta will make an array with “;” as delimiter. inside dbDelta if ( !is_array($queries) ) { $queries = explode( ‘;’, $queries ); $queries = array_filter( $queries ); } So the … Read more

How to get a current post’s blog id

Here’s a quick way you could do it, though there are quite likely easier/better ways to do it. This is just what I can think of at the moment. Add a quick function to functions.php that will store the blog ID in the post meta. Then when you need to check where the post came … Read more