bp_registration_options_css

Add User-provided CSS to our admin_head output for styling purposes.

Description

bp_registration_options_css(); 

Usage

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

Defined (1)

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

/includes/admin.php  
  1. function bp_registration_options_css() { 
  2.  
  3. /** 
  4. * Filters and allows users to add their own CSS to the output of the page. 
  5. * @since 4.2.0 
  6. */ 
  7. $styles = apply_filters( 'bpro_hook_admin_styles', '' ); 
  8. if ( ! empty( $styles ) ) { 
  9. echo '<style>' . $styles . '</style>';