mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-15 23:05:44 +03:00
Add 5ftf plugin from https://github.com/coreymckrill/5ftf
This commit is contained in:
parent
1db9ec9203
commit
697a4b2329
12 changed files with 943 additions and 0 deletions
27
plugins/wporg-5ftf/index.php
Executable file
27
plugins/wporg-5ftf/index.php
Executable file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* Plugin Name: Five For The Future
|
||||
* Plugin URI: https://wordpress.org
|
||||
* Description:
|
||||
* Author: WordPress.org
|
||||
* Author URI: https://wordpress.org
|
||||
* Version: 1.0.0
|
||||
*/
|
||||
|
||||
namespace WordPressDotOrg\FiveForTheFuture;
|
||||
defined( 'WPINC' ) || die();
|
||||
|
||||
define( __NAMESPACE__ . '\PATH', plugin_dir_path( __FILE__ ) );
|
||||
define( __NAMESPACE__ . '\URL', plugin_dir_url( __FILE__ ) );
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
function load() {
|
||||
require_once PATH . 'includes/company.php';
|
||||
require_once PATH . 'includes/company-meta.php';
|
||||
require_once PATH . 'includes/shortcodes.php';
|
||||
require_once PATH . 'includes/pledge-form.php';
|
||||
}
|
||||
|
||||
add_action( 'plugins_loaded', __NAMESPACE__ . '\load' );
|
Loading…
Add table
Add a link
Reference in a new issue