Last active
December 23, 2020 11:00
-
-
Save alanef/752add5736521597e3a7eef2b01b9f81 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| /* | |
| Plugin Name: Custom code | |
| Plugin URI: https://fullworks.net/ | |
| Description: Custom code | |
| Version: 1.0 | |
| Author: Alan | |
| Author URI: https://fullworks.net/ | |
| License: GPL2 | |
| */ | |
| if ( ! defined( 'WPINC' ) ) { | |
| die; // just to kill off hack attempts | |
| } | |
| add_action( 'after_setup_theme', function() { | |
| // put your functions here that you would put in functions.php | |
| } ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment