Example of a tiny plugin for adding WordPress customizations.
WP Customizations Plugin
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 | |
/** | |
* Plugin Name: Customizations | |
* Plugin URI: https://neliosoftware.com | |
* Description: Customizing WordPress | |
* Version: 1.0.0 | |
* Author: David Aguilera | |
* Author URI: https://neliosoftware.com | |
*/ |
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 | |
/** | |
* 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. |
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 | |
/** | |
* 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