[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/ -> glotpress.php (summary)

Plugin Name: GlotPress Plugin URI: https://wordpress.org/plugins/glotpress/ Description: GlotPress is a tool to help translators collaborate. Version: 2.4.0-alpha Author: the GlotPress team Author URI: https://glotpress.blog License: GPLv2 or later Text Domain: glotpress This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 195 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 gp-settings.php

Defines 6 functions

  gp_display_disabled_admin_notice()
  gp_unsupported_php_version_notice()
  gp_unsupported_version_admin_notice()
  gp_unsupported_permalink_structure_admin_notice()
  gp_activate_plugin()
  gp_deactivate_plugin()

Functions
Functions that are not part of a class:

gp_display_disabled_admin_notice( $short_notice, $long_notice )   X-Ref
Displays an admin notice on the plugins page that GlotPress has been disabled and why..

since: 2.0.0
param: string $short_notice The message to display on the first line of the notice beside "GlotPress Disabled".
param: string $long_notice The message to display below the "GlotPress Disabled" line.

gp_unsupported_php_version_notice()   X-Ref
Adds a message if the required minimum PHP version is not detected.

Message is only displayed on the plugin screen.

since: 2.0.0

gp_unsupported_version_admin_notice()   X-Ref
Adds a message if an incompatible version of WordPress is running.

Message is only displayed on the plugin screen.

since: 1.0.0

gp_unsupported_permalink_structure_admin_notice()   X-Ref
Adds a message if no permalink structure is detected .

Message is only displayed on the plugin screen.

since: 2.0.0

gp_activate_plugin()   X-Ref
Perform necessary actions on activation.

since: 1.0.0

gp_deactivate_plugin( $network_wide )   X-Ref
Run the plugin de-activation code.

since: 1.0.0
param: bool $network_wide Whether the plugin is deactivated for all sites in the network



Generated: Sat Dec 15 01:02:18 2018 Cross-referenced by PHPXref 0.7.1