Advertisement
designbymerovingi

Basic Custom WP Plugin Example

Sep 19th, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.35 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Plugin Name: myCRED Customizations
  4.  * Description: A custom plugin for myCRED customizations
  5.  * Version: 1.0
  6.  * Tags: custom
  7.  * Author: Your Name
  8.  * Author URI: https://yourwebsite.com
  9.  */
  10.  
  11. // White label myCRED
  12. function mycred_pro_whitelabel_name() {
  13.     return 'SuperPoints';
  14. }
  15. add_filter( 'mycred_label', 'mycred_pro_whitelabel_name' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement