PHP Class CPTP_Module_GetArchives, custom-post-type-permalinks

Since: 0.9.4
Inheritance: extends CPTP_Module
Show file Open project: torounit/custom-post-type-permalinks

Public Properties

Property Type Description
$get_archives_where_r wp_get_archives fix for custom post Ex:wp_get_archives('&post_type='.get_query_var( 'post_type' ));

Public Methods

Method Description
add_hook ( )
get_archives_link ( string $link ) : string get_arcihves_link
getarchives_join ( string $join, array $r ) : string get_archive_join
getarchives_where ( $where, $r ) function modified by [steve]

Method Details

add_hook() public method

public add_hook ( )

getarchives_join() public method

get_archive_join
Since: 0.8
Author: Steve
public getarchives_join ( string $join, array $r ) : string
$join string
$r array
return string

getarchives_where() public method

function modified by [steve]
public getarchives_where ( $where, $r )

Property Details

$get_archives_where_r public property

wp_get_archives fix for custom post Ex:wp_get_archives('&post_type='.get_query_var( 'post_type' ));
public $get_archives_where_r