MainWP Code Snippets Extension v4.0.1

最后更新于:2022-03-27 01:01:48

格尺建站系统(GeChiUI.com)是基于WordPress深度定制中文版建站系统,优秀的主题与插件都可以无缝迁移到GeChiUI中使用。

MainWP Code Snippets Extension is a simple way to add code snippets to your child sites from one centralized location. No need to edit your theme’s functions.php file or wp-config anymore!

Code snippet a small chunk of PHP code that can be inserted directly into your child sites. Sometimes they contain full functions; other times, they modify an existing feature.

This tool is for advanced users only. We recommend it to experienced PHP developers.

Create And Execute Your PHP Code Snippets Across Your Sites

With this Extension, you can execute tasks like synchronizing the settings of a plugin, changing the content of any posts, updating widgets, or get post counts across your network, and you can do all of this from your Dashboard.

The MainWP Code Snippet Extension allows you to run code in three ways:

1. Have a Code Snippet execute a function on the Child site.

You would use this option to make actual changes to your child sites. For example, if you wanted to customize the admin footer across different websites in your network, you would use this option.

2. Have a Code Snippet return information from a Child site.

This option queries the child and returns the information to you. An example would be if you wanted to know the published post count of all of your sites.

3. Have a Code Snippet edit the wp-config.php file on a Child site.

One of the most critical files in your WordPress installation is the wp-config.php file. A Code Snippet in this section allows you to do things such as increase WordPress memory, block external requests, disable WP Cron, and much more!

The Power is in Your Hands!

This Extension gives you immense freedom when managing your child sites, here are just a few useful things you can accomplish using Code Snippets:

  • Disable theme, plugin editor and plugin, core updates
  • Disable CRON job feature
  • Set auto-save interval
  • Block external requests
  • Increase WordPress memory limit
  • Protect WordPress against malicious URL requests

Want to see even more? Pop on over wpfunction.me or WPSnipp and jump-start your imagination with even more things you can do with Code Snippets

The possibilities are endless; the only limitation is your imagination.

We also include a few pre-coded snippets to get you started.

Save and Use Your Favorite Snippets Unlimited Number of Times

Wouldn’t it be useful if you could save your favorite snippets and run them on multiple sites when needed, all with just a few clicks? MainWP Code Snippets Extension provides you the ability to save your code snippets and use them again and again whenever you need them.

Extend the functionality of your child sites

Use code snippets as mini-plugins and reduce the load on your websites.

Speed up your WordPress maintenance process

Clear trash, update setting, set redirections, and much more with Code Snippets.

Save code snippets and re-run them whenever needed

Save your favorite Snippets and re-run them whenever required.

Run code snippets on multiple sites simultaneously

Simultaneously run functions on any website you want

变更日志: MainWP Code Snippets Extension

Version 4.0.1 – 9-10-2020
Updated: MainWP Dashboard 4.1 compatibility

Version 4.0 – 8-28-2019
Updated: extension UI/UX redesign
Updated: support for the MainWP 4.0

Version 1.2 – 7-27-2018
Fixed: incorrect form field label

Version 1.1 – 10-6-2017
Fixed: multiple translation issues
Fixed: multiple codding standard issues
Fixed: multiple grammar issues
Added: extension help tab
Updated: extension general style
Updated: notification messages
Updated: CodeMirror library
Updated: responsive CSS styles
Removed: unused code
Removed: unused files

Version 1.0 – 2-17-2016
Added: Support for WP-CLI
Added: Support for the new API management
Updated: Refactored code to meet WordPress coding standards
Updated: “Check for updates now” link is not visible if extension is not activated

Version 0.0.6 – 4-17-2015
Updated: Quick Start Guide layout

Version 0.0.4
Added: Support for the API Manager

Version 0.0.3
Fixed PHP Warning

Version 0.0.2
“return” command replaced with “echo”
Undefined index bug fixed
New Feature Added: Snippets can be added to the WP-Config.php file

Version 0.0.1
Initial Release

⭐另请参考: summary of all MainWP wordpress manager plugins

下载 MainWP Code Snippets Extension v4.0 Nulled

注意: 也许你需要在安装插件之前解压。 如果任何主题/插件包含病毒,我们不提供任何保证。在本地主机上使用,请先查杀病毒。