DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
wp get_posts return ids
get_posts(array( 'fields' => 'ids', // Only get post IDs 'posts_per_page' => -1 ));
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#wp
#return
#ids
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit