wpsc_get_post_types() WPSCache 1.0
Hooks from the function
Return
Null. Nothing.
Usage
wpsc_get_post_types();
Code of wpsc_get_post_types() wpsc get post types WPSCache 1.7.1
function wpsc_get_post_types() {
$preload_type_args = apply_filters( 'wpsc_preload_post_types_args', array(
'public' => true,
'publicly_queryable' => true
) );
$post_types = (array) apply_filters( 'wpsc_preload_post_types', get_post_types( $preload_type_args, 'names', 'or' ));
return "'" . join( "', '", array_map( 'esc_sql', $post_types ) ) . "'";
}