“The plugin generated 2694 characters of unexpected output…” on Plugin activation, CREATE TABLE sql command not working

There are two things wrong. First, you have an error in your SQL syntax. The following do not have a type defined: streetaddress NOT NULL, suburbaddress NOT NULL, postcodeaddress NOT NULL, I would assume these are “text” but MySQL doesn’t know that šŸ˜‰ So you probably meant them to be: streetaddress text NOT NULL, suburbaddress … Read more

Use wp_remote_get to get JSON instagram feed from public profile

Yes, it will do the same thing. Taken from the official docs: /** @var array|WP_Error $response */ $response = wp_remote_get( ‘http://www.example.com/index.html’ ); if ( is_array( $response ) && ! is_wp_error( $response ) ) { $headers = $response[‘headers’]; // array of http header lines $body = $response[‘body’]; // use the content } https://developer.wordpress.org/reference/functions/wp_remote_get/ Wether it will … Read more