PluginProbe
Job Postings / 2.8
Job Postings v2.8
2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.5.0 2.5.1 2.5.10 2.5.10.1 2.5.10.2 2.5.11.1 2.5.11.2 2.5.2 2.5.3 All 171 releases
job-postings / job-postings.php

job-postings.php in Job Postings 2.8, at job-postings.php

67 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Job Postings
4 Plugin URI: https://wordpress.org/plugins/job-postings/
5 Description: WordPress plugin that make it easy to add job postings to your company’s website in a structured way.
6 Author: BlueGlass
7 Version: 2.8
8 Author URI: http://blueglass.ch/
9 Text Domain: job-postings
10 Domain Path: /languages
11 License: GPLv2 or later
12 License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
14 */
15
16
17 if( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
18
19 define('JOBPOSTINGSVERSION', '2.8');
20 define('JOBPOSTINGSPATH', plugin_dir_path( __FILE__ ));
21 define('JOBPOSTINGSURL', plugin_dir_url(__FILE__));
22 define('JOBPOSTINGSFILESDIR', ABSPATH . '../jobs-dir/');
23
24 // remove_filter( 'wp_mail', array( 'EasyWPSMTP', 'wp_mail' ), 2147483647 );
25 // add_action('wp', function(){ echo '<pre>';print_r($GLOBALS['wp_filter']['wp_mail']); echo '</pre>';exit; } );
26
27
28 // Load text domain for translations
29 function job_postings_plugin_langs_init() {
30 load_plugin_textdomain( 'job-postings', false, basename( dirname( __FILE__ ) ) . '/languages' );
31 }
32 add_action('init', 'job_postings_plugin_langs_init');
33
34 //do analytics
35 //include_once('include/class-bg-analytics.php');
36 //$BlueGlassAnalytics = new BG_Analytics();
37
38 include_once('include/class-job-security.php');
39 include_once('include/class-job-posting-helper.php');
40 include_once('include/class-job-settings.php');
41 include_once('include/class-job-post-type.php');
42 include_once('include/class-job-dependencies.php');
43 include_once('include/class-job-add-edit.php');
44 include_once('include/class-job-entry.php');
45
46 // Include main class
47 include_once('class-job-postings.php');
48
49 include_once('include/class-job-get-uploaded-file.php');
50
51 include_once('include/class-job-single-view.php');
52 include_once('include/class-job-apply-form.php');
53 include_once('include/class-job-notifications.php');
54 include_once('include/class-job-application-submit.php');
55
56 //Shortcodes
57 include_once('include/shortcodes/class-job-category.php');
58 include_once('include/shortcodes/class-job-search.php');
59 include_once('include/shortcodes/class-job-list.php');
60 include_once('include/shortcodes/class-job-single.php');
61
62 include_once('include/class-job-duplicate-offer.php');
63
64 Job_Postings::load();
65
66 // Install defaults on plugin activation
67 register_activation_hook( __FILE__, array('Job_Postings', 'jobs_plugin_add_defaults') );