wp-user-avatar
Last commit date
assets
4 years ago
deprecated
4 years ago
languages
4 years ago
src
4 years ago
vendor
4 years ago
changelog.txt
4 years ago
index.php
5 years ago
readme.txt
4 years ago
uninstall.php
5 years ago
wp-user-avatar.php
4 years ago
wp-user-avatar.php
25 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin Name: ProfilePress |
| 4 | * Plugin URI: https://profilepress.net |
| 5 | * Description: The modern WordPress membership and user profile plugin. |
| 6 | * Version: 3.2.4 |
| 7 | * Author: ProfilePress Team |
| 8 | * Author URI: https://profilepress.net |
| 9 | * Text Domain: wp-user-avatar |
| 10 | * Domain Path: /languages |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | defined('ABSPATH') or die("No script kiddies please!"); |
| 15 | |
| 16 | define('PROFILEPRESS_SYSTEM_FILE_PATH', __FILE__); |
| 17 | define('PPRESS_VERSION_NUMBER', '3.2.4'); |
| 18 | |
| 19 | require __DIR__ . '/vendor/autoload.php'; |
| 20 | |
| 21 | add_action('init', function () { |
| 22 | load_plugin_textdomain('wp-user-avatar', false, dirname(plugin_basename(PROFILEPRESS_SYSTEM_FILE_PATH)) . '/languages'); |
| 23 | }); |
| 24 | |
| 25 | ProfilePress\Core\Base::get_instance(); |