| @@ -1,0 +1,28 @@ | ||
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Module Name: Post by Email | |
| 4 | + * Module Description: Publish blog posts simply by sending an email to a custom address. | |
| 5 | + * First Introduced: 2.0 | |
| 6 | + * Sort Order: 14 | |
| 7 | + * Requires Connection: Yes | |
| 8 | + * Requires User Connection: Yes | |
| 9 | + * Auto Activate: No | |
| 10 | + * Module Tags: Writing | |
| 11 | + * Feature: Writing | |
| 12 | + * Additional Search Queries: post by email, email | |
| 13 | + * | |
| 14 | + * @package automattic/jetpack | |
| 15 | + */ | |
| 16 | + | |
| 17 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 18 | + exit( 0 ); | |
| 19 | +} | |
| 20 | + | |
| 21 | +/** | |
| 22 | + * Require the PBE Class. | |
| 23 | + */ | |
| 24 | +require_once __DIR__ . '/post-by-email/class-jetpack-post-by-email.php'; | |
| 25 | + | |
| 26 | +add_action( 'jetpack_modules_loaded', array( 'Jetpack_Post_By_Email', 'init' ) ); | |
| 27 | + | |
| 28 | +Jetpack::enable_module_configurable( __FILE__ ); | |