You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README-snippets.md
+22-16Lines changed: 22 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,13 +19,13 @@
19
19
20
20
| Title | Version | Type | Status | Description |
21
21
| ----- | ------- | ---- | ------ | ----------- |
22
-
|[Ajax Logger](./ajaxlog/ajaxlog.php)| 1.0.0 |Plugin|:white_check_mark:| Record all admin_init requests to troubleshoot high admin-ajax.php requests. |
22
+
|[Ajax Logger](./ajaxlog/ajaxlog.php)| 1.0.0 |mu-plugin|:white_check_mark:| Record all admin_init requests to troubleshoot high admin-ajax.php requests. |
|[Block HTTP Requests to a list of URLs](./core/block-http-requests.php)| 0.1.0 | * Type: snippet |:white_check_mark:| This plugin blocks HTTP requests to specific URLs, such as the WP Ultimo update server. |
46
-
|[enable-core-updates-version-control.php](./core/enable-core-updates-version-control.php)| 1.0.0 |Plugin|:white_check_mark:| Filters whether the automatic updater should consider a filesystem location to be potentially managed by a version control system. |
46
+
|[enable-core-updates-version-control.php](./core/enable-core-updates-version-control.php)| 1.0.0 |mu-plugin|:white_check_mark:| Filters whether the automatic updater should consider a filesystem location to be potentially managed by a version control system. |
47
47
48
48
## [debug](debug)
49
49
50
50
| Title | Version | Type | Status | Description |
51
51
| ----- | ------- | ---- | ------ | ----------- |
52
-
|[log-hook-calls.php](./debug/log-hook-calls.php)| 1.0.0 |Plugin|:white_check_mark:| Log all hook calls to a file |
52
+
|[log-hook-calls.php](./debug/log-hook-calls.php)| 1.0.0 |mu-plugin|:white_check_mark:| Log all hook calls to a file |
53
53
|[PHP Memory Info](./debug/php-memory.php)| 1.0 | mu-plugin |:white_check_mark:| Adds a Tools -> PHP Memory page to display PHP ini and WordPress memory settings and current usage. |
54
-
|[show-browser-cookies.php](./debug/show-browser-cookies.php)| 1.0.0 | snippet |:white_check_mark:| * Description Shows your browsers cookies |
55
-
|[Application Logs](./debug/show-logs-admin.php)| 1.0 |Plugin|:white_check_mark:| Displays top 10 lines from a log file in the WordPress admin section. |
54
+
|[show-browser-cookies.php](./debug/show-browser-cookies.php)| 1.0.0 | snippet |:question:| * Description Shows your browsers cookies |
55
+
|[Application Logs](./debug/show-logs-admin.php)| 1.0 |snippet|:white_check_mark:| Displays top 10 lines from a log file in the WordPress admin section. |
56
56
|[WP Redirect Log](./debug/wp-redirect-log.php)| 1.0 | mu-plugin |:white_check_mark:| Logs all wp_redirect and wp_safe_redirect calls to a log file in the uploads directory. |
57
57
58
58
## [development](development)
@@ -61,31 +61,37 @@
61
61
| ----- | ------- | ---- | ------ | ----------- |
62
62
|[staging-environment.php](./development/staging-environment.php)| 1.0.0 | Snippet |:white_check_mark:| This snippet will enable and disable plugins based on the WP_ENVIRONMENT_TYPE |
63
63
64
+
## [general](general)
65
+
66
+
| Title | Version | Type | Status | Description |
67
+
| ----- | ------- | ---- | ------ | ----------- |
68
+
|[MU Shortcode: SVG QR for Current URL](./general/qr-code-page-link.php)| 1.0.0 | Snippet |:white_check_mark:| Adds [qr_svg] shortcode that renders an SVG QR code for the current page URL (or a provided URL). |
69
+
64
70
## [mail](mail)
65
71
66
72
| Title | Version | Type | Status | Description |
67
73
| ----- | ------- | ---- | ------ | ----------- |
68
-
|[wp-mail-log-to-file.php](./mail/wp-mail-log-to-file.php)| 1.0.0 |Plugin|:white_check_mark:| Log wp_mail function to a file |
69
-
|[wp-mail-test.php](./mail/wp-mail-test.php)| 1.0.0 |Plugin|:white_check_mark:| Used to send a test email to test the wp_mail function. |
74
+
|[wp-mail-log-to-file.php](./mail/wp-mail-log-to-file.php)| 1.0.0 |Snippet|:white_check_mark:| Log wp_mail function to a file |
75
+
|[wp-mail-test.php](./mail/wp-mail-test.php)| 1.0.0 |mu-plugin|:white_check_mark:| Used to send a test email to test the wp_mail function. |
70
76
71
77
## [maintenance](maintenance)
72
78
73
79
| Title | Version | Type | Status | Description |
74
80
| ----- | ------- | ---- | ------ | ----------- |
75
-
|[wp-maintenance-mode2.php](./maintenance/wp-maintenance-mode2.php)| 1.0.0 |Plugin|:white_check_mark:| This plugin displays a maintenance message for non-administrative users. |
76
-
|[wp-maintenance-mode.php](./maintenance/wp-maintenance-mode.php)| 1.0.0 |Plugin|:white_check_mark:| Maintenance mode for WordPress - Originally from https://wordpress.stackexchange.com/questions/398037/maintenance-mode-excluding-site-administrators|
81
+
|[wp-maintenance-mode2.php](./maintenance/wp-maintenance-mode2.php)| 1.0.0 |mu-plugin|:white_check_mark:| This plugin displays a maintenance message for non-administrative users. |
82
+
|[wp-maintenance-mode.php](./maintenance/wp-maintenance-mode.php)| 1.0.0 |mu-plugin|:white_check_mark:| Maintenance mode for WordPress - Originally from https://wordpress.stackexchange.com/questions/398037/maintenance-mode-excluding-site-administrators|
77
83
78
84
## [monitoring](monitoring)
79
85
80
86
| Title | Version | Type | Status | Description |
81
87
| ----- | ------- | ---- | ------ | ----------- |
82
-
|[betteruptime-heartbeat.php](./monitoring/betteruptime-heartbeat.php)| 1.0.0 |Plugin|:white_check_mark:| Monitor WordPress cron via Better Uptime heartbeat checks. Originally from https://www.sprucely.net/knowledge-base/monitoring-wordpress-cron-via-heartbeat-checks/|
88
+
|[betteruptime-heartbeat.php](./monitoring/betteruptime-heartbeat.php)| 1.0.0 |mu-plugin|:white_check_mark:| Monitor WordPress cron via Better Uptime heartbeat checks. Originally from https://www.sprucely.net/knowledge-base/monitoring-wordpress-cron-via-heartbeat-checks/|
83
89
84
90
## [multisite](multisite)
85
91
86
92
| Title | Version | Type | Status | Description |
87
93
| ----- | ------- | ---- | ------ | ----------- |
88
-
|[sunrise-subdomain-to-subdirectory-mapping.php](./multisite/sunrise-subdomain-to-subdirectory-mapping.php)| 1.0.0 |Plugin|:white_check_mark:| Redirect domain names to multisite subdirectories and include query arguments in the redirect. |
94
+
|[sunrise-subdomain-to-subdirectory-mapping.php](./multisite/sunrise-subdomain-to-subdirectory-mapping.php)| 1.0.0 |mu-plugin|:white_check_mark:| Redirect domain names to multisite subdirectories and include query arguments in the redirect. |
89
95
90
96
## [plugins](plugins)
91
97
@@ -95,13 +101,13 @@
95
101
|[Plugin Name: PowerKit SVG Lazyload Fix](./plugins/powerkit-svg-lazyload-fix.php)| 1.0.0 | mu-plugin |:white_check_mark:| This script has two objectives, replace redirection_items and update |
96
102
|[redirection-search-replace.php](./plugins/redirection-search-replace.php)| 1.0.0 | script |:white_check_mark:| This script has two objectives, replace redirection_items and update |
97
103
|[Plugin Name: Simple Membership Members Per Page](./plugins/simple-membership-members-per-page.php)| Version: 1.0 | script |:white_check_mark:| This script has two objectives, replace redirection_items and update |
|[check-ports.php](./tests/check-ports.php)| 1.0.0 |Plugin|:white_check_mark:| Original created to test if ports are open outbound on hosting providers to be able to send tranational email |
110
+
|[test-open-tcp-ports.php](./tests/check-ports.php)| 1.0.0 |mu-plugin|:white_check_mark:| Original created to test if ports are open outbound on hosting providers to be able to send tranational email |
105
111
106
112
## [theme](theme)
107
113
@@ -119,13 +125,13 @@
119
125
120
126
| Title | Version | Type | Status | Description |
121
127
| ----- | ------- | ---- | ------ | ----------- |
122
-
|[woocommerce-hide-costofgoodssold-metadata.php](./woocommerce/woocommerce-hide-costofgoodssold-metadata.php)| 1.0.0 | snippet |:white_check_mark:| Hides item metadata for the WooCommerce Costs of Goods Sold on specific Booster for WooCommerce plugin shortcodes |
128
+
|[woo-commerce-hide-costofgoodssold-metadata.php](./woocommerce/woocommerce-hide-costofgoodssold-metadata.php)| 1.0.0 | snippet |:white_check_mark:| Hides item metadata for the WooCommerce Costs of Goods Sold on specific Booster for WooCommerce plugin shortcodes |
123
129
|[woocommerce-order-search-in-admin-bar.php](./woocommerce/woocommerce-order-search-in-admin-bar.php)| 1.0.0 | Snippet |:white_check_mark:| Add shop order search in the admin bar |
124
130
|[woocommerce-wc_product_loop_transient-expiration-to-1-day.php](./woocommerce/woocommerce-wc_product_loop_transient-expiration-to-1-day.php)| 1.0.0 | snippet |:white_check_mark:| Change wc_product_loop transient expiration to 1 day |
125
131
126
132
## [wp-failover](wp-failover)
127
133
128
134
| Title | Version | Type | Status | Description |
129
135
| ----- | ------- | ---- | ------ | ----------- |
130
-
|[Failover Status Monitor](./wp-failover/wp-failover.php)| 1.0.0 |Plugin|:white_check_mark:| Monitors failover status and provides notifications. |
136
+
|[Failover Status Monitor](./wp-failover/wp-failover.php)| 1.0.0 |mu-plugin|:white_check_mark:| Monitors failover status and provides notifications. |
Copy file name to clipboardExpand all lines: README.md
+22-16Lines changed: 22 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,13 +33,13 @@ The status field is used to indicate the current status of the snippet. This is
33
33
34
34
| Title | Version | Type | Status | Description |
35
35
| ----- | ------- | ---- | ------ | ----------- |
36
-
|[Ajax Logger](./ajaxlog/ajaxlog.php)| 1.0.0 |Plugin|:white_check_mark:| Record all admin_init requests to troubleshoot high admin-ajax.php requests. |
36
+
|[Ajax Logger](./ajaxlog/ajaxlog.php)| 1.0.0 |mu-plugin|:white_check_mark:| Record all admin_init requests to troubleshoot high admin-ajax.php requests. |
@@ -57,16 +57,16 @@ The status field is used to indicate the current status of the snippet. This is
57
57
| Title | Version | Type | Status | Description |
58
58
| ----- | ------- | ---- | ------ | ----------- |
59
59
|[Block HTTP Requests to a list of URLs](./core/block-http-requests.php)| 0.1.0 | * Type: snippet |:white_check_mark:| This plugin blocks HTTP requests to specific URLs, such as the WP Ultimo update server. |
60
-
|[enable-core-updates-version-control.php](./core/enable-core-updates-version-control.php)| 1.0.0 |Plugin|:white_check_mark:| Filters whether the automatic updater should consider a filesystem location to be potentially managed by a version control system. |
60
+
|[enable-core-updates-version-control.php](./core/enable-core-updates-version-control.php)| 1.0.0 |mu-plugin|:white_check_mark:| Filters whether the automatic updater should consider a filesystem location to be potentially managed by a version control system. |
61
61
62
62
## [debug](debug)
63
63
64
64
| Title | Version | Type | Status | Description |
65
65
| ----- | ------- | ---- | ------ | ----------- |
66
-
|[log-hook-calls.php](./debug/log-hook-calls.php)| 1.0.0 |Plugin|:white_check_mark:| Log all hook calls to a file |
66
+
|[log-hook-calls.php](./debug/log-hook-calls.php)| 1.0.0 |mu-plugin|:white_check_mark:| Log all hook calls to a file |
67
67
|[PHP Memory Info](./debug/php-memory.php)| 1.0 | mu-plugin |:white_check_mark:| Adds a Tools -> PHP Memory page to display PHP ini and WordPress memory settings and current usage. |
68
-
|[show-browser-cookies.php](./debug/show-browser-cookies.php)| 1.0.0 | snippet |:white_check_mark:| * Description Shows your browsers cookies |
69
-
|[Application Logs](./debug/show-logs-admin.php)| 1.0 |Plugin|:white_check_mark:| Displays top 10 lines from a log file in the WordPress admin section. |
68
+
|[show-browser-cookies.php](./debug/show-browser-cookies.php)| 1.0.0 | snippet |:question:| * Description Shows your browsers cookies |
69
+
|[Application Logs](./debug/show-logs-admin.php)| 1.0 |snippet|:white_check_mark:| Displays top 10 lines from a log file in the WordPress admin section. |
70
70
|[WP Redirect Log](./debug/wp-redirect-log.php)| 1.0 | mu-plugin |:white_check_mark:| Logs all wp_redirect and wp_safe_redirect calls to a log file in the uploads directory. |
71
71
72
72
## [development](development)
@@ -75,31 +75,37 @@ The status field is used to indicate the current status of the snippet. This is
75
75
| ----- | ------- | ---- | ------ | ----------- |
76
76
|[staging-environment.php](./development/staging-environment.php)| 1.0.0 | Snippet |:white_check_mark:| This snippet will enable and disable plugins based on the WP_ENVIRONMENT_TYPE |
77
77
78
+
## [general](general)
79
+
80
+
| Title | Version | Type | Status | Description |
81
+
| ----- | ------- | ---- | ------ | ----------- |
82
+
|[MU Shortcode: SVG QR for Current URL](./general/qr-code-page-link.php)| 1.0.0 | Snippet |:white_check_mark:| Adds [qr_svg] shortcode that renders an SVG QR code for the current page URL (or a provided URL). |
83
+
78
84
## [mail](mail)
79
85
80
86
| Title | Version | Type | Status | Description |
81
87
| ----- | ------- | ---- | ------ | ----------- |
82
-
|[wp-mail-log-to-file.php](./mail/wp-mail-log-to-file.php)| 1.0.0 |Plugin|:white_check_mark:| Log wp_mail function to a file |
83
-
|[wp-mail-test.php](./mail/wp-mail-test.php)| 1.0.0 |Plugin|:white_check_mark:| Used to send a test email to test the wp_mail function. |
88
+
|[wp-mail-log-to-file.php](./mail/wp-mail-log-to-file.php)| 1.0.0 |Snippet|:white_check_mark:| Log wp_mail function to a file |
89
+
|[wp-mail-test.php](./mail/wp-mail-test.php)| 1.0.0 |mu-plugin|:white_check_mark:| Used to send a test email to test the wp_mail function. |
84
90
85
91
## [maintenance](maintenance)
86
92
87
93
| Title | Version | Type | Status | Description |
88
94
| ----- | ------- | ---- | ------ | ----------- |
89
-
|[wp-maintenance-mode2.php](./maintenance/wp-maintenance-mode2.php)| 1.0.0 |Plugin|:white_check_mark:| This plugin displays a maintenance message for non-administrative users. |
90
-
|[wp-maintenance-mode.php](./maintenance/wp-maintenance-mode.php)| 1.0.0 |Plugin|:white_check_mark:| Maintenance mode for WordPress - Originally from https://wordpress.stackexchange.com/questions/398037/maintenance-mode-excluding-site-administrators|
95
+
|[wp-maintenance-mode2.php](./maintenance/wp-maintenance-mode2.php)| 1.0.0 |mu-plugin|:white_check_mark:| This plugin displays a maintenance message for non-administrative users. |
96
+
|[wp-maintenance-mode.php](./maintenance/wp-maintenance-mode.php)| 1.0.0 |mu-plugin|:white_check_mark:| Maintenance mode for WordPress - Originally from https://wordpress.stackexchange.com/questions/398037/maintenance-mode-excluding-site-administrators|
91
97
92
98
## [monitoring](monitoring)
93
99
94
100
| Title | Version | Type | Status | Description |
95
101
| ----- | ------- | ---- | ------ | ----------- |
96
-
|[betteruptime-heartbeat.php](./monitoring/betteruptime-heartbeat.php)| 1.0.0 |Plugin|:white_check_mark:| Monitor WordPress cron via Better Uptime heartbeat checks. Originally from https://www.sprucely.net/knowledge-base/monitoring-wordpress-cron-via-heartbeat-checks/|
102
+
|[betteruptime-heartbeat.php](./monitoring/betteruptime-heartbeat.php)| 1.0.0 |mu-plugin|:white_check_mark:| Monitor WordPress cron via Better Uptime heartbeat checks. Originally from https://www.sprucely.net/knowledge-base/monitoring-wordpress-cron-via-heartbeat-checks/|
97
103
98
104
## [multisite](multisite)
99
105
100
106
| Title | Version | Type | Status | Description |
101
107
| ----- | ------- | ---- | ------ | ----------- |
102
-
|[sunrise-subdomain-to-subdirectory-mapping.php](./multisite/sunrise-subdomain-to-subdirectory-mapping.php)| 1.0.0 |Plugin|:white_check_mark:| Redirect domain names to multisite subdirectories and include query arguments in the redirect. |
108
+
|[sunrise-subdomain-to-subdirectory-mapping.php](./multisite/sunrise-subdomain-to-subdirectory-mapping.php)| 1.0.0 |mu-plugin|:white_check_mark:| Redirect domain names to multisite subdirectories and include query arguments in the redirect. |
103
109
104
110
## [plugins](plugins)
105
111
@@ -109,13 +115,13 @@ The status field is used to indicate the current status of the snippet. This is
109
115
|[Plugin Name: PowerKit SVG Lazyload Fix](./plugins/powerkit-svg-lazyload-fix.php)| 1.0.0 | mu-plugin |:white_check_mark:| This script has two objectives, replace redirection_items and update |
110
116
|[redirection-search-replace.php](./plugins/redirection-search-replace.php)| 1.0.0 | script |:white_check_mark:| This script has two objectives, replace redirection_items and update |
111
117
|[Plugin Name: Simple Membership Members Per Page](./plugins/simple-membership-members-per-page.php)| Version: 1.0 | script |:white_check_mark:| This script has two objectives, replace redirection_items and update |
|[check-ports.php](./tests/check-ports.php)| 1.0.0 |Plugin|:white_check_mark:| Original created to test if ports are open outbound on hosting providers to be able to send tranational email |
124
+
|[test-open-tcp-ports.php](./tests/check-ports.php)| 1.0.0 |mu-plugin|:white_check_mark:| Original created to test if ports are open outbound on hosting providers to be able to send tranational email |
119
125
120
126
## [theme](theme)
121
127
@@ -133,15 +139,15 @@ The status field is used to indicate the current status of the snippet. This is
133
139
134
140
| Title | Version | Type | Status | Description |
135
141
| ----- | ------- | ---- | ------ | ----------- |
136
-
|[woocommerce-hide-costofgoodssold-metadata.php](./woocommerce/woocommerce-hide-costofgoodssold-metadata.php)| 1.0.0 | snippet |:white_check_mark:| Hides item metadata for the WooCommerce Costs of Goods Sold on specific Booster for WooCommerce plugin shortcodes |
142
+
|[woo-commerce-hide-costofgoodssold-metadata.php](./woocommerce/woocommerce-hide-costofgoodssold-metadata.php)| 1.0.0 | snippet |:white_check_mark:| Hides item metadata for the WooCommerce Costs of Goods Sold on specific Booster for WooCommerce plugin shortcodes |
137
143
|[woocommerce-order-search-in-admin-bar.php](./woocommerce/woocommerce-order-search-in-admin-bar.php)| 1.0.0 | Snippet |:white_check_mark:| Add shop order search in the admin bar |
138
144
|[woocommerce-wc_product_loop_transient-expiration-to-1-day.php](./woocommerce/woocommerce-wc_product_loop_transient-expiration-to-1-day.php)| 1.0.0 | snippet |:white_check_mark:| Change wc_product_loop transient expiration to 1 day |
139
145
140
146
## [wp-failover](wp-failover)
141
147
142
148
| Title | Version | Type | Status | Description |
143
149
| ----- | ------- | ---- | ------ | ----------- |
144
-
|[Failover Status Monitor](./wp-failover/wp-failover.php)| 1.0.0 |Plugin|:white_check_mark:| Monitors failover status and provides notifications. |
150
+
|[Failover Status Monitor](./wp-failover/wp-failover.php)| 1.0.0 |mu-plugin|:white_check_mark:| Monitors failover status and provides notifications. |
0 commit comments