PHP Code

This add-on for Broadcast allows you to run custom code on selected blogs. Knowledge of PHP is required.

There is a wizard that can generate some boilerplate code for you. Currently it generates the following types of code:

  • Misc
    • Run a bulk action of post types (find unlinked, delete children, etc)
  • Options
    • Show the current language setting of the blog
  • ┬áThemes
    • Show the selected theme of each blog
    • Switch the theme

 

Screenshots

Notes

For security reasons, this add-on is available only to the network admin.

There are three code boxes: the setup code is run once, the loop code that is run on each blog and the teardown code after looping is completed.

This plugin is Blog Groups aware.

If you write anything interesting, or need something written, feel free to send it in.

Where to buy

This add-on is a part of the following packs:

Leave a Reply

Your email address will not be published. Required fields are marked *