Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Oscar-Abad-Folgueira/a590b3a11aa4face30a2de1871761264 to your computer and use it in GitHub Desktop.
Save Oscar-Abad-Folgueira/a590b3a11aa4face30a2de1871761264 to your computer and use it in GitHub Desktop.
Plantilla básica para la creación del fichero principal del plugin de WordPress
<?php
/**
* Plugin Name: Nombre del plugin
* Plugin URI: https://oscarabadfolgueira.com/url-del-plugin
* Description: Texto descriptivo y corto de lo que hace el plugin.
* Author: Oscar Abad Folgueira
* Author URI: https://oscarabadfolgueira.com
* Text Domain: dominio-del-plugin (oaf-xxx-xxx)
* License: GPL-2.0+
* Version: 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment