file_get_dom

The BP Groupblog file get dom function.

Description

file_get_dom(); 

Usage

  1. if ( !function_exists( 'file_get_dom' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bp-groupblog/themes/p2-buddypress/groupblog/_inc/simple_html_dom.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = file_get_dom(); 
  7.  

Defined (1)

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

/themes/p2-buddypress/groupblog/_inc/simple_html_dom.php  
  1. function file_get_dom() { 
  2. $dom = new simple_html_dom; 
  3. $args = func_get_args(); 
  4. $dom->load(call_user_func_array('file_get_contents', $args), true); 
  5. return $dom;