Ejemplo n.º 1
0
 /**
  * Get pid.
  *
  * @param unknown $query
  * @return int
  * @deprecated since 0.20.0
  */
 static function get_pid($query)
 {
     $pids = TimberPostGetter::get_pids($query);
     if (is_array($pids) && count($pids)) {
         return $pids[0];
     }
 }