bp_registration_options_admin_footer

Render our content at the bottom of each page.

Description

(string) bp_registration_options_admin_footer( (string) $original = '' ); 

Displays contact and credit information.

Returns (string)

$value New footer text.

Parameters (1)

0. $original — Optional. (string) => ''
Original footer text.

Usage

  1. if ( !function_exists( 'bp_registration_options_admin_footer' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bp-registration-options/includes/admin.php'; 
  3.  
  4. // Original footer text. 
  5. $original = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bp_registration_options_admin_footer($original); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/admin.php  
  1. function bp_registration_options_admin_footer( $original = '' ) { 
  2.  
  3. $screen = get_current_screen(); 
  4. if ( ! is_object( $screen ) || bp_registration_options != $screen->parent_base ) { 
  5. return $original; 
  6. return sprintf( 
  7. __( '%s version %s by %s', 'bp-registration-options' ),  
  8. sprintf( 
  9. '<a target="_blank" href="https://wordpress.org/support/plugin/bp-registration-options">%s</a>',  
  10. __( 'BP Registration Options', 'bp-registration-options' ) 
  11. ),  
  12. '<a href="http://webdevstudios.com" target="_blank">WebDevStudios</a>' 
  13. ). 
  14. ' - '. 
  15. sprintf( 
  16. '<a href="https://github.com/WebDevStudios/BuddyPress-Registration-Options/issues" target="_blank">%s</a>',  
  17. __( 'Please Report Bugs', 'bp-registration-options' ) 
  18. ). 
  19. ' '. 
  20. __( 'Follow on Twitter:', 'bp-registration-options' ). 
  21. sprintf( 
  22. ' %s · %s · %s',  
  23. '<a href="http://twitter.com/tw2113" target="_blank">Michael</a>',  
  24. '<a href="http://twitter.com/bmess" target="_blank">Brian</a>',  
  25. '<a href="http://twitter.com/webdevstudios" target="_blank">WebDevStudios</a>' 
  26. ); 
  27.