wpsc_get_post_types()WPSCache 1.0

Return

null. Nothing (null).

Usage

wpsc_get_post_types();

wpsc_get_post_types() code WPSCache 1.12.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 "'" . implode( "', '", array_map( 'esc_sql', $post_types ) ) . "'";
}