$media->load($data = array())

Safely requires a file if it exists

  • $data (array)
    Optional variables, which will be made available to the file
  • return (mixed)
    Return value from the PHP file

Is something missing or incorrect? Edit this page on Github…