Code-Snippets-Functions/Execute a function on a child site/WordPress
2025-06-30 14:47:56 -06:00
..
admin-email-check-9-months.txt Create admin-email-check-9-months.txt 2019-10-17 14:54:25 -06:00
all-contributor-users-to-upload-images.txt Update all-contributor-users-to-upload-images.txt 2020-06-20 16:32:06 -06:00
allow-specific-block-types.txt Create allow-specific-block-types.txt 2019-02-13 13:42:50 -07:00
auto-updates-opt-in-opt-out-minor-core.txt Create auto-updates-opt-in-opt-out-minor-core.txt 2020-11-24 08:07:42 -07:00
block-dashboard-access-non-admins.txt Create block-dashboard-access-non-admins.txt 2018-10-03 19:20:19 -06:00
block-user-enumeration-attempts.txt Create block-user-enumeration-attempts.txt 2019-06-06 13:13:11 -06:00
change-admin-email-option-value.txt Update change-admin-email-option-value.txt 2019-12-23 09:51:30 -07:00
change-font-directory-location.txt Create change-font-directory-location.txt 2024-03-22 11:08:02 -06:00
change-the-back-to-blog-link.txt Create change-the-back-to-blog-link.txt 2021-02-17 22:13:23 -07:00
change-the-default-value-of-the-heading-block.txt Create change-the-default-value-of-the-heading-block.txt 2024-12-02 11:51:46 -07:00
change-the-heartbeat-api-pulse-to-every-60-seconds.txt Update change-the-heartbeat-api-pulse-to-every-60-seconds.txt 2020-06-20 17:06:58 -06:00
custom-timeout-values-for-http-requests-in-wordpress.txt Create custom-timeout-values-for-http-requests-in-wordpress.txt 2019-02-01 12:41:13 -07:00
deactivate-hello-dolly.txt Create deactivate-hello-dolly.txt 2021-08-24 14:00:24 -06:00
defer-loading-comment-reply-js.txt Create defer-loading-comment-reply-js.txt 2021-07-15 14:53:21 -06:00
delete-all-but-the-oldest-revision.txt Create delete-all-but-the-oldest-revision.txt 2023-03-09 08:33:52 -07:00
delete-expired-cron-events-every-6-hours.txt Create delete-expired-cron-events-every-6-hours.txt 2023-04-21 18:31:41 -06:00
delete-hello-dolly-akismet-plugins.txt Create delete-hello-dolly-akismet-plugins.txt 2023-04-21 18:40:56 -06:00
disable-admin-bar-all-users-except-admin.txt Rename disable-admin-bar-all-user-except-admin.txt to disable-admin-bar-all-users-except-admin.txt 2018-11-28 11:15:36 -07:00
disable-admin-bar-for-all-users.txt Create disable-admin-bar-for-all-users.txt 2020-06-20 15:54:07 -06:00
disable-admin-email-check-interval.txt Create disable-admin-email-check-interval.txt 2019-10-17 14:53:36 -06:00
disable-admin-email-verification-prompts.txt Create disable-admin-email-verification-prompts.txt 2022-04-28 11:29:03 -06:00
disable-all-comments.txt Create disable-all-comments.txt 2019-04-03 14:18:43 -06:00
disable-all-pingbacks.txt Create disable-all-pingbacks.txt 2020-11-20 10:54:03 -07:00
disable-all-trackbacks.txt Create disable-all-trackbacks.txt 2020-11-20 10:53:43 -07:00
disable-all-wp-mail-emails.txt Create disable-all-wp-mail-emails.txt 2020-09-30 13:20:38 -06:00
disable-all-xml-rpc-endpoints.txt Rename disable-all-xml-rpc-auth-methods.txt to disable-all-xml-rpc-endpoints.txt 2019-01-14 20:26:05 -07:00
disable-application-passwords.txt Create disable-application-passwords.txt 2020-12-09 11:56:22 -07:00
disable-author-archives.txt Create disable-author-archives.txt 2022-12-14 10:22:51 -07:00
disable-auto-sizes-lazy-loading-images.txt Create disable-auto-sizes-lazy-loading-images.txt 2024-11-15 11:13:18 -07:00
disable-auto-sizes.txt Create disable-auto-sizes.txt 2024-11-22 13:10:54 -07:00
disable-auto-updates-major-core-default.txt Create disable-auto-updates-major-core-default.txt 2020-11-24 08:06:12 -07:00
disable-automatic-heic-images-to-jpg.txt Create disable-automatic-heic-images-to-jpg.txt 2024-11-13 15:13:11 -07:00
disable-big-image-threshold.txt Create disable-big-image-threshold.txt 2019-11-11 21:08:36 -07:00
disable-block-directory.txt Create disable-block-directory.txt 2022-03-14 13:44:00 -06:00
disable-block-editor-widgets.txt Update disable-block-editor-widgets.txt 2021-06-07 11:38:04 -06:00
disable-block-inspector-tabs.txt Create disable-block-inspector-tabs.txt 2023-03-09 08:40:31 -07:00
disable-block-locking-settings-globally-on-posts-pages.txt Rename disable-block-locking-on-posts-pages.txt to disable-block-locking-settings-globally-on-posts-pages.txt 2022-05-12 21:10:23 -06:00
disable-block-pattern-suggestions.txt Create disable-block-pattern-suggestions.txt 2023-03-27 11:16:37 -06:00
disable-classic-themes-css.txt Create disable-classic-themes-css.txt 2022-11-03 15:01:13 -06:00
disable-code-editor-in-block-settings.txt Create disable-code-editor-in-block-settings.txt 2024-10-14 11:59:01 -06:00
disable-comments.txt Create disable-comments.txt 2023-05-12 09:51:59 -06:00
disable-core-auto-updates-ui.txt Create disable-core-auto-updates-ui.txt 2020-11-02 21:27:12 -07:00
disable-dashicons-front-end.txt Create disable-dashicons-front-end.txt 2020-06-24 08:18:05 -06:00
disable-dns-prefetch-links.txt Create disable-dns-prefetch-links.txt 2022-04-28 11:23:13 -06:00
disable-email-change-email-notification-specific-user.txt Create disable-email-change-email-notification-specific-user.txt 2025-06-30 14:47:56 -06:00
disable-email-notification-core-updates.txt Create disable-email-notification-core-updates.txt 2021-02-09 13:06:33 -07:00
disable-emails-sending.txt Create disable-emails-sending.txt 2022-11-30 11:43:53 -07:00
disable-emoji.txt Create disable-emoji.txt 2018-10-03 19:26:42 -06:00
disable-font-library-rest-api-endpoints.txt Create disable-font-library-rest-api-endpoints.txt 2024-03-15 09:54:06 -06:00
disable-font-library-ui.txt Create disable-font-library-ui.txt 2024-03-14 14:04:32 -06:00
disable-global-styles-inline-css.txt Create disable-global-styles-inline-css.txt 2022-11-08 13:31:00 -07:00
disable-global-styles.txt Create disable-global-styles.txt 2022-03-15 10:14:11 -06:00
disable-google-floc.txt Create disable-google-floc.txt 2021-04-18 21:35:05 -06:00
disable-gutenberg-block-editor-posts-pages.txt Create disable-gutenberg-block-editor-posts-pages.txt 2019-03-12 09:49:54 -06:00
disable-gutenberg-block-editor.txt Disable the Gutenberg block editor in WordPress 2018-11-08 12:10:21 -07:00
disable-gutenberg-dashboard-widget.txt Create disable-gutenberg-dashboard-widget.txt 2018-09-27 07:36:43 -06:00
disable-jquery-migrate-helper-notification-being-sent.txt Create disable-jquery-migrate-helper-notification-being-sent.txt 2021-01-27 09:24:31 -07:00
disable-lazy-loading-ifame-post-content.txt Create disable-lazy-loading-ifame-post-content.txt 2021-02-19 12:55:41 -07:00
disable-login-language-selector.txt Create disable-login-language-selector.txt 2022-01-28 11:21:57 -07:00
disable-native-lazy-loading.php Create disable-native-lazy-loading.php 2020-07-29 12:45:06 -06:00
disable-new-widgets-screen-gutenberg-block-editor.txt Create disable-new-widgets-screen-gutenberg-block-editor.txt 2020-10-15 14:49:25 -06:00
disable-openverse-block-editor-settings.txt Create disable-openverse-block-editor-settings.txt 2024-10-14 09:28:41 -06:00
disable-openverse-category-new-media-tab.txt Create disable-openverse-category-new-media-tab.txt 2023-03-07 14:31:11 -07:00
disable-password-reset-email-notification.php Create disable-password-reset-email-notification.php 2019-10-27 15:19:40 -06:00
disable-password-reset.txt Create disable-password-reset.txt 2022-02-07 11:38:59 -07:00
disable-pingbacks.txt Create disable-pingbacks.txt 2019-05-15 14:07:12 -06:00
disable-plugin-auto-updates.txt Update disable-plugin-auto-updates.txt 2020-07-02 14:18:56 -06:00
disable-plugins-auto-update-email.txt Create disable-plugins-auto-update-email.txt 2020-05-07 08:42:35 -06:00
disable-remote-block-patterns.txt Create disable-remote-block-patterns.txt 2021-12-09 09:02:15 -07:00
disable-robots-meta-tag.txt Create disable-robots-meta-tag.txt 2021-03-01 14:36:48 -07:00
disable-rss-feeds.txt Create disable-rss-feeds.txt 2022-12-20 14:56:47 -07:00
disable-site-health-dashboard-widget.txt Create disable-site-health-dashboard-widget.txt 2020-04-11 14:59:33 -06:00
disable-site-health-in-wp-admin.txt Rename disable-site-health-feature.txt to disable-site-health-in-wp-admin.txt 2019-06-14 07:43:17 -06:00
disable-sitemaps-xml-feature.txt Update and rename disable-sitemap-feature.txt to disable-sitemaps-xml-feature.txt 2020-07-22 14:57:24 -06:00
disable-themes-auto-update-email.txt Update disable-themes-auto-update-email.txt 2020-07-02 14:20:53 -06:00
disable-themes-auto-updates.txt Fixed: typo 2020-09-04 15:09:38 +02:00
disable-url-rewriting-to-https.txt Create disable-url-rewriting-to-https.txt 2021-02-22 15:13:40 -07:00
disable-users-rest-api-endpoint.txt Create disable-users-rest-api-endpoint.txt 2021-04-07 14:12:05 -06:00
disable-version-number.txt Create disable-version-number.txt 2022-12-14 10:27:48 -07:00
disable-webp-image-generation.txt Create disable-webp-image-generation.txt 2022-08-19 14:48:18 -06:00
disable-welcome-tips-in-block-editor.txt Create disable-welcome-tips-in-block-editor.txt 2019-09-25 11:13:01 -06:00
disable-wp-rest-api.txt Create disable-wp-rest-api.txt 2019-04-22 14:31:01 -06:00
disable-wpautop.txt Create disable-wpautop.txt 2022-12-05 12:52:26 -07:00
disable-xml-rpc.auth-methods.txt Create disable-xml-rpc.auth-methods.txt 2019-01-14 20:23:36 -07:00
enable-auto-updates-interface-for-core-minor-versions.txt Rename auto-updates-interface-for-core-minor-versions.txt to enable-auto-updates-interface-for-core-minor-versions.txt 2020-11-02 21:50:32 -07:00
enable-html-formatted-emails-wp-mail.txt Create enable-html-formatted-emails-wp-mail.txt 2022-01-10 13:15:43 -07:00
enable-legacy-comments-block.txt Create enable-legacy-comments-block.txt 2022-05-12 21:16:09 -06:00
enable-menu-access-rest-api.txt Create enable-menu-access-rest-api.txt 2025-04-11 13:02:10 -06:00
enable-prerender-moderate-speculative-loading.txt Create enable-prerender-moderate-speculative-loading.txt 2025-04-10 10:12:48 -06:00
enable-svg-uploads.txt Create enable-svg-uploads.txt 2020-10-28 21:41:18 -06:00
exclude-cart-from-speculative-loading.txt Create exclude-cart-from-speculative-loading.txt 2025-04-08 12:59:50 -06:00
force-idle-automatic-logout.txt Create force-idle-automatic-logout.txt 2024-02-27 15:00:19 -07:00
hide-admin-bar-branding.txt Rename remove-admin-bar-branding.txt to hide-admin-bar-branding.txt 2018-11-30 09:09:17 -07:00
hide-admin-bar-non-admin.txt Create hide-admin-bar-non-admin.txt 2018-10-03 19:19:19 -06:00
hide-color-options-user-profile.txt Create hide-color-options-user-profile.txt 2022-03-18 21:39:21 -06:00
hide-profile-dropdown-admin-bar.txt Create hide-profile-dropdown-admin-bar.txt 2022-02-03 13:25:04 -07:00
hide-progress-count-in-site-health-progress-counter.txt Create hide-progress-count-in-site-health-progress-counter.txt 2019-08-21 11:01:07 -06:00
hide-the-wordpress-update-notifications-for-non-admin-users.txt Create hide-the-wordpress-update-notifications-for-non-admin-users.txt 2019-03-22 14:59:43 -06:00
increase-image-quality-to-90.txt Create increase-image-quality-to-90.txt 2018-09-27 07:33:58 -06:00
load-translations-from-theme-folder.txt Create load-translations-from-theme-folder.txt 2024-11-15 09:33:18 -07:00
logout-redirect-custom.txt Create logout-redirect-custom.txt 2019-07-19 14:07:27 -06:00
logout-redirect-home.txt Create logout-redirect-home.txt 2019-07-16 14:31:19 -06:00
post-only-search.txt Create post-only-search.txt 2019-03-27 08:36:24 -06:00
README.md Update README.md 2025-04-30 15:56:31 -06:00
recently-published-badge.txt Create recently-published-badge.txt 2023-12-28 14:47:27 -07:00
redirect-all-404-to-homepage.txt Create redirect-all-404-to-homepage.txt 2023-12-29 17:55:28 -07:00
redirect-single-post-category-tag.txt Create redirect-single-post-category-tag.txt 2020-01-01 17:12:13 -07:00
remove-admin-tab-users-list.txt Create remove-admin-tab-users-list.txt 2021-12-30 17:09:00 -07:00
remove-auto-generated-p-tags.txt Create remove-auto-generated-p-tags.txt 2019-03-14 09:48:50 -06:00
remove-auto-links-in-comments.txt Create remove-auto-links-in-comments.txt 2020-06-20 16:40:03 -06:00
remove-avatars-from-comments.txt Create remove-avatars-from-comments.txt 2020-10-14 09:12:04 -06:00
remove-background-updates-from-site-status-tests.txt Create remove-background-updates-from-site-status-tests.txt 2020-04-11 15:07:43 -06:00
remove-background-updates-wp-core-site-health-test.txt Create remove-background-updates-wp-core-site-health-test.txt 2019-05-02 10:06:12 -06:00
remove-block-styles-from-being-enqueue.txt Create remove-block-styles-from-being-enqueue.txt 2019-05-02 13:47:01 -06:00
remove-comments-icon-in-admin-bar.txt Create remove-comments-icon-in-admin-bar.txt 2019-04-03 14:18:15 -06:00
remove-custom-fields-metabox-post-editor.txt Create remove-custom-fields-metabox-post-editor.txt 2019-05-21 12:26:36 -06:00
remove-default-user-roles.txt Create remove-default-user-roles.txt 2021-01-07 22:13:58 -07:00
remove-duotone-svg.txt Create remove-duotone-svg.txt 2022-03-01 08:10:29 -07:00
remove-html-in-comments.txt Create remove-html-in-comments.txt 2020-06-22 13:38:52 -06:00
remove-links-menu-manager-wp-admin.txt Create remove-links-menu-manager-wp-admin.txt 2021-01-07 22:09:38 -07:00
remove-nofollow-on-recent-comments.txt Create remove-nofollow-on-recent-comments.txt 2020-06-05 14:12:50 -06:00
remove-post-content-excerpts-from-rss-feeds.txt Create remove-post-content-excerpts-from-rss-feeds.txt 2020-04-11 15:05:40 -06:00
remove-site-url-field-in-comments.txt Create remove-site-url-field-in-comments.txt 2020-09-10 22:12:47 -06:00
remove-suggested-passwords.txt Create remove-suggested-passwords.txt 2021-02-23 12:46:44 -07:00
remove-tawk-to-branding-from-the-chat-widget.txt Create remove-tawk-to-branding-from-the-chat-widget.txt 2023-03-24 13:42:47 -06:00
remove-url-field-in-comments.txt Create remove-url-field-in-comments.txt 2019-05-15 14:46:51 -06:00
remove-users-from-sitemap-xml- Create remove-users-from-sitemap-xml- 2020-07-22 14:57:37 -06:00
remove-wordpress-version-header.txt Create remove-wordpress-version-header.txt 2022-01-24 15:10:02 -07:00
remove-wptexturize-function-from-running.txt Create remove-wptexturize-function-from-running.txt 2019-09-13 10:56:29 -06:00
replace-howdy-to-welcome.txt Create replace-howdy-to-welcome.txt 2021-08-23 10:45:52 -06:00
replace-login-error-hints.txt Create replace-login-error-hints.txt 2020-06-22 13:53:32 -06:00
restrict-admin-access-to-defined-user-roles.txt Create restrict-admin-access-to-defined-user-roles.txt 2024-03-20 16:19:58 -06:00
restrict-author-to-only-be-able-to-view-own-posts.txt Create restrict-author-to-only-be-able-to-view-own-posts.txt 2023-10-30 10:22:44 -06:00
restrict-upload-image-types.txt Create restrict-upload-image-types.txt 2019-12-19 21:19:52 -07:00
return-an-error-message-when-a-login-attempt-fails.txt Create return-an-error-message-when-a-login-attempt-fails.txt 2019-09-11 14:15:30 -06:00
send-email-notification-user-role-change.txt Create send-email-notification-user-role-change.txt 2023-10-31 10:20:28 -06:00
set-avif-compression-level.txt Create set-avif-compression-level.txt 2024-02-23 12:07:38 -07:00
set-do-parse-request-as-false.txt Create set-do-parse-request-as-false.txt 2022-05-12 21:27:32 -06:00
set-page-post-revisions-zero.txt Create set-page-post-revisions-zero.txt 2021-07-22 10:22:03 -06:00
set-recovery-mode-email.txt Create set-recovery-mode-email.txt 2019-05-08 20:58:05 -06:00
set-the-default-image-size-block-settings.txt Create set-the-default-image-size-block-settings.txt 2024-10-17 12:14:55 -06:00
set-webp-image-quality.txt Create set-webp-image-quality.txt 2021-06-07 14:29:42 -06:00
show-featured-images-rss-feed.txt Create show-featured-images-rss-feed.txt 2022-12-19 11:48:27 -07:00
snowman-login-screen.txt Create snowman-login-screen.txt 2024-12-20 11:40:25 -07:00
stay-logged-in-wp-admin-48-hours.txt Create stay-logged-in-wp-admin-48-hours.txt 2023-05-19 13:12:54 -06:00
switch-sub-sizes-to-JPG.txt Create switch-sub-sizes-to-JPG.txt 2021-06-28 11:33:51 -06:00

WordPress

Tested version of WordPress 6.8.1.

This file is a code snippet that is used for WordPress.

Things to do

  1. If your not sure what this does check the Code Snippets Functions Readme
  2. As with all code snippets located in this git, TEST the code snippet on one of your test sites BEFORE sending the code snippet to all your MainWP Child sites!

Code snippet functions help

If you run into any issues or questions please use the MainWP Support page and open a ticket for the fastest response.