original_string: public function doActions()
      {
          if ($this->isNamed()) {
              list($slug, $name) = $this->file;
  
              do_action("get_template_part_{$slug}", $slug, $name);
  
              return;
          }
  
          // Use first template name, if template
          // file is an array, but is not named.
          if (is_array($this->file) && isset($this->file[0])) {
              return do_action("get_template_part_{$this->file[0]}", $this->file[0], null);
          }
  
          do_action("get_template_part_{$this->file}", $this->file, null);
      }
code: public function doActions()
      {
          if ($this->isNamed()) {
              list($slug, $name) = $this->file;
  
              do_action("get_template_part_{$slug}", $slug, $name);
  
              return;
          }
  
          // Use first template name, if template
          // file is an array, but is not named.
          if (is_array($this->file) && isset($this->file[0])) {
              return do_action("get_template_part_{$this->file[0]}", $this->file[0], null);
          }
  
          do_action("get_template_part_{$this->file}", $this->file, null);
      }
code_tokens: public function doActions ( ) { if ( $ this -> isNamed ( ) ) { list ( $ slug , $ name ) = $ this -> file ; do_action ( "get_template_part_{$slug}" , $ slug , $ name ) ; return ; } // Use first template name, if template // file is an array, but is not named. if ( is_array ( $ this -> file ) && isset ( $ this -> file [ 0 ] ) ) { return do_action ( "get_template_part_{$this->file[0]}" , $ this -> file [ 0 ] , null ) ; } do_action ( "get_template_part_{$this->file}" , $ this -> file , null ) ; }
docstring: Calls before including template actions.
  
  @return void
docstring_tokens: Calls before including template actions .