bp_jm_screen

If your component uses a top-level directory, this function will catch the requests and load the index page.

Description

bp_jm_screen(); 

Usage

  1. if ( !function_exists( 'bp_jm_screen' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-jm-resume/buddypress-components/jm-resume-componet/bp-jm-resume/bp-jm-resume-screens.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_jm_screen(); 
  7.  

Defined (1)

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

/buddypress-components/jm-resume-componet/bp-jm-resume/bp-jm-resume-screens.php  
  1. function bp_jm_screen() { 
  2. if ( bp_is_current_component( 'resume' ) ) { 
  3. bp_core_load_template( 'members/single/plugins' ); 
  4. }