Skip to content

Commit f182eb4

Browse files
committed
Init
0 parents  commit f182eb4

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

functions.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
// Exit if accessed directly.
4+
if ( ! defined( 'ABSPATH' ) ) {
5+
exit;
6+
}
7+
8+
// Your awesome code here.

plugin-name.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
/**
3+
* Bootstrap file
4+
*
5+
* Plugin Name: Plugin Name
6+
* Description: The plugin adds information about the games to the site posts.
7+
* Version: {VERSION}
8+
* Author: {AUTHOR}
9+
* Author URI: {AUTHOR_URL}
10+
* License: GPLv2 or later
11+
* Text Domain: plugin-name
12+
*
13+
* @package PluginName
14+
*/
15+
16+
// Exit if accessed directly.
17+
if ( ! defined( 'ABSPATH' ) ) {
18+
exit;
19+
}
20+
require_once plugin_dir_path( __FILE__ ) . 'functions.php';

0 commit comments

Comments
 (0)