Hotaru Docs

 [həʊdɒks]

Function Reference/readPost

Description

Returns the settings for a single post from the database.

Usage

<?php readPost( $post_id, $post_row ) ?>

Parameters

Template:Parameter

Return Values

boolean true on success | false on failure.

Examples

<?php
     $h->post->id= 5;    
     $h->readPost();
?>

Source File

readPost() is located in content/hotaru.php which calls the post.php file from the LIBS folder.

Related