inkthemes_image_post

The Black Rider Lite Responsive Theme inkthemes image post function.

Description

inkthemes_image_post( $post_id ); 

Parameters (1)

0. $post_id
The post id.

Usage

  1. if ( !function_exists( 'inkthemes_image_post' ) ) { 
  2. require_once '/functions/inkthemes-functions.php'; 
  3.  
  4. // The post id. 
  5. $post_id = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = inkthemes_image_post($post_id); 
  9.  

Defined (1)

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

/functions/inkthemes-functions.php  
  1. function inkthemes_image_post($post_id) { 
  2. add_post_meta($post_id, 'img_key', 'on');