pterotype/pterotype.php

16 lines
321 B
PHP
Raw Normal View History

2018-08-21 13:17:07 +00:00
<?php
/*
2018-09-19 15:16:41 +00:00
Plugin Name: Pterotype
2018-08-21 13:17:07 +00:00
*/
require_once plugin_dir_path( __FILE__ ) . 'inc/init.php';
2018-08-21 13:17:07 +00:00
2018-09-19 21:44:14 +00:00
define( 'PTEROTYPE_VERSION', '0.0.1' );
2018-09-19 15:47:51 +00:00
2018-09-19 15:16:41 +00:00
function pterotype_init() {
2018-09-19 15:47:51 +00:00
update_option( 'pterotype_version', PTEROTYPE_VERSION );
2018-09-19 15:16:41 +00:00
do_action( 'pterotype_init' );
}
2018-09-19 15:16:41 +00:00
register_activation_hook( __FILE__, 'pterotype_init');
2018-08-21 13:17:07 +00:00
?>