Skip to content

Instantly share code, notes, and snippets.

@OscarAbadFolgueira
Created September 22, 2016 17:53
Show Gist options
  • Save OscarAbadFolgueira/85128b9d3dcad610e06c5dae4cddb32f to your computer and use it in GitHub Desktop.
Save OscarAbadFolgueira/85128b9d3dcad610e06c5dae4cddb32f to your computer and use it in GitHub Desktop.
Ejemplo de fichero con cabecera para plugin de WordPress
<?php
/**
* Plugin Name: Mi primer plugin
* Plugin URI: http://www.dinapyme.com/podcast/42-introduccion-al-desarrollo-de-plugins-para-wordpress/
* Description: Plugin de ejemplo para saber como crear un plugin
* Version: 0.1
* Author: Oscar Abad Folgueira
* Author URI: https://www.dinapyme.com
* Text Domain: dinapyme-ejemplo
* Domain Path: /languages/
*License: GPLv2+
*/
defined( 'ABSPATH' ) or die( '¡Sin trampas!' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment