composer global require friendsofphp/php-cs-fixer
after successfully installation of PHP-CS-FIXER
now install PHP-CS-FIXER VSCODE Extension
<?php | |
require __DIR__ . '/vendor/autoload.php'; | |
use \DrewM\MailChimp\MailChimp; | |
$mc = new MailChimp('<your-mailchimp-api-key>'); | |
// list ID | |
// When a user unsubscribes from the list, they cannot be subscribed again | |
// via the API, so use a unique list for this mailing purpose |
<?php | |
/** | |
* Change the string "Page ... of ..." of Rank Math plugin in the <title> tag | |
* | |
* @link http://codex.wordpress.org/Plugin_API/Filter_Reference/gettext | |
* @link https://developer.wordpress.org/themes/basics/conditional-tags/#testing-for-paginated-pages | |
* | |
*/ | |
function my_text_strings($translated_text) { | |
global $wp_query; |