Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WP Customizations Plugin

Example of a tiny plugin for adding WordPress customizations.

<?php
/**
* Plugin Name: Customizations
* Plugin URI: https://neliosoftware.com
* Description: Customizing WordPress
* Version: 1.0.0
* Author: David Aguilera
* Author URI: https://neliosoftware.com
*/
<?php
/**
* Plugin Name: Customizations
* Plugin URI: https://neliosoftware.com
* Description: Customizing WordPress
* Version: 1.0.0
* Author: David Aguilera
* Author URI: https://neliosoftware.com
*/
defined( 'ABSPATH' ) or die( 'Get out!' );
/**
* Changes admin's footer text.
*/
function nelio_custom_text_in_footer_admin() {
return 'Thanks for contributing to Nelio!';
}//end nelio_custom_text_in_footer_admin()
add_action( 'admin_footer_text', 'nelio_custom_text_in_footer_admin' );
// Add more functions below.
<?php
/**
* Plugin Name: Customizations
* Plugin URI: https://neliosoftware.com
* Description: Customizing WordPress
* Version: 1.0.0
* Author: David Aguilera
* Author URI: https://neliosoftware.com
*/
defined( 'ABSPATH' ) or die( 'Get out!' );
/**
* Changes admin's footer text.
*/
function nelio_custom_text_in_footer_admin() {
return '¡Gracias por contribuir a Nelio!';
}//end nelio_custom_text_in_footer_admin()
add_action( 'admin_footer_text', 'nelio_custom_text_in_footer_admin' );
// Tus otras funciones, aquí debajo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment