Forked from julien731/awesome-support-custom-fields.php
Created
June 7, 2018 09:33
-
-
Save stalukder03/5183c25068649321e3d884158b52cf0c to your computer and use it in GitHub Desktop.
Awesome Support Custom Fields Starter Kit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package Awesome Support/Custom Fields | |
* @author ThemeAvenue <web@themeavenue.net> | |
* @license GPL-2.0+ | |
* @link http://themeavenue.net | |
* @copyright 2014 ThemeAvenue | |
* | |
* @wordpress-plugin | |
* Plugin Name: Awesome Support: My Custom Fields | |
* Plugin URI: http://getawesomesupport.com | |
* Description: Adds custom fields to the Awesome Support ticket submission form. | |
* Version: 0.1.0 | |
* Author: ThemeAvenue | |
* Author URI: http://themeavenue.net | |
* Text Domain: wpas | |
* License: GPL-2.0+ | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt | |
* Domain Path: /languages | |
*/ | |
// If this file is called directly, abort. | |
if ( ! defined( 'WPINC' ) ) { | |
die; | |
} | |
add_action( 'plugins_loaded', 'wpas_user_custom_fields' ); | |
/** | |
* Register all custom fields after the plugin is safely loaded. | |
*/ | |
function wpas_user_custom_fields() { | |
/* You can start adding your custom fields safely after this line */ | |
/* Do NOT write anything after this line */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment