Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Seravo/wp-palvelu-instance-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 

Repository files navigation

WP-palvelu.fi Instance Switcher

Latest Stable Version Total Downloads Latest Unstable Version License

A WordPress must-use plugin for easily switching between WP-palvelu.fi shadows

THIS REPOSITORY IS DEPRECATED

This plugin as of commit bfb019a923838bf60fbc3bad652c823303b09239 was merged into the Seravo Plugin, in pull request Seravo/seravo-plugin#36.

All future development goes there and this repository will eventually be deleted in 2018 or so.

Filters

You can insert your own admin notice for users that are in shadow

function my_shadow_admin_notice($admin_notice, $current_screen) {
  return '<div class="notice notice-error"><p>This is staging. All content edited here will be lost. Return to production to create or edit content.</p></div>';
}
add_filter( 'wpp_instance_switcher_admin_notice', 'my_shadow_admin_notice', 10, 2 );

About

[DEPRECATED] This plugin allows you to easily switch between your WP-palvelu.fi shadows

Resources

License

Stars

Watchers

Forks

Packages

No packages published