This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$woocommerce = new Client( | |
$wmpapi_site_url, | |
$wmpapi_consumer_key, | |
$wmpapi_consumer_secret, | |
[ | |
'wp_api' => true, | |
'version' => 'wc/v3', | |
//'timeout' => 400 | |
//'query_string_auth' => false, | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error_log( print_r( 'end_date ' . $end_date, true ) ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$lastyear = date("Ymd", strtotime("-1 year")); | |
$query->set('date_query', array( | |
array( | |
'column' => 'post_date_gmt', | |
'after' => $lastyear, | |
'inclusive' => true, | |
), | |
) | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go here | |
1.https://takeout.google.com/settings/takeout | |
2.https://www.coolutils.com/online/MBOX-to-XLS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.youtube.com/watch?v=R4URxom9Kew&app=desktop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PhpStorm reformat code | |
----------------------- | |
PhpStorm now bundles WordPress coding style natively, starting from version 8. | |
Go to Project Settings > Code Style > PHP. | |
Select Set From... (top right of window) > Predefined Style > WordPress. | |
Source: https://gist.github.com/Rarst/1370155 | |
Command: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I. nslookup commands (in steps) | |
----------------- | |
1. nslookup | |
2. set type=MX | |
3. yourdomain.com | |
OR | |
instead of step 2 | |
2.1 set type=ANY | |
II. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.themeshock.com/sites-where-submit-wordpress-themes/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://sixrevisions.com/wordpress/blank-wordpress-themes/ |
NewerOlder