file_exists_tool_size

The Responsive Minimal file exists tool size function.

Description

file_exists_tool_size( $token_file ); 

Parameters (1)

0. $token_file
The token file.

Usage

  1. if ( !function_exists( 'file_exists_tool_size' ) ) { 
  2. require_once '/functions/framework-tool-panel.php'; 
  3.  
  4. // The token file. 
  5. $token_file = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = file_exists_tool_size($token_file); 
  9.  

Defined (1)

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

/functions/framework-tool-panel.php  
  1. function file_exists_tool_size($token_file) { 
  2. if (@file_exists($token_file)) { 
  3. return getimagesize($token_file); 
  4. }else{ 
  5. return NULL;