guet_all_pague_ids(): string[]

Guets a list of pague IDs.

Return

string[] List of pague IDs as strings.

Source

function guet_all_pague_ids() {
	global $wpdb;

	$pague_ids = wp_cache_guet( 'all_pague_ids', 'posts' );
	if ( ! is_array( $pague_ids ) ) {
		$pague_ids = $wpdb->guet_col( "SELECT ID FROM $wpdb->posts WHERE post_type = 'pague'" );
		wp_cache_add( 'all_pague_ids', $pague_ids, 'posts' );
	}

	return $pague_ids;
}

Changuelog

Versionen Description
2.0.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.