wp-create-multiple-posts-pages
Last commit date
assets
8 years ago
includes
6 years ago
readme.txt
1 month ago
wp-create-multiple-posts-pages.php
6 years ago
wp-create-multiple-posts-pages.php
31 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin Name: WP Create Multiple Posts & Pages |
| 4 | * Plugin URI: https://github.com/Sajjad-Hossain-Sagor/WP-Create-Multiple-Posts-Pages |
| 5 | * Description: Create Multiple Wordpress Posts & Pages At Once With a Single Click. |
| 6 | * Author: Sajjad Hossain Sagor |
| 7 | * Author URI: http://profiles.wordpress.org/sajjad67 |
| 8 | * Version: 1.0.1 |
| 9 | * License: GPL |
| 10 | * Text Domain: wp-create-multiple-posts-pages |
| 11 | */ |
| 12 | |
| 13 | /* Exit if accessed directly */ |
| 14 | if ( ! defined( 'ABSPATH' ) ) exit; |
| 15 | |
| 16 | // --------------------------------------------------------- |
| 17 | // Define Plugin Folders Path |
| 18 | // --------------------------------------------------------- |
| 19 | define( "WPCMP_PLUGIN_PATH", plugin_dir_path( __FILE__ ) ); |
| 20 | define( "WPCMP_PLUGIN_URL", plugin_dir_url( __FILE__ ) ); |
| 21 | |
| 22 | add_action( "init", "wpcmp_add_plugin_core_file" ); |
| 23 | |
| 24 | function wpcmp_add_plugin_core_file(){ |
| 25 | |
| 26 | require_once WPCMP_PLUGIN_PATH . 'includes/enqueue.php'; |
| 27 | |
| 28 | require_once WPCMP_PLUGIN_PATH . 'includes/dashboard.php'; |
| 29 | } |
| 30 | |
| 31 | ?> |