WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17646, comment 10


Ignore:
Timestamp:
05/05/13 03:50:13 (12 months ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17646, comment 10

    initial v1  
    44var_dump( wp_get_object_terms( get_the_ID(), 'category', array( 'fields' => 'all' ) ) ); 
    55var_dump( wp_get_object_terms( get_the_ID(), 'category', array( 'fields' => 'all_with_object_id' ) ) ); 
    6 var_dump( wp_get_object_terms( get_the_ID(), 'category', array( 'fields' => 'id' ) ) ); 
     6var_dump( wp_get_object_terms( get_the_ID(), 'category', array( 'fields' => 'ids' ) ) ); 
    77var_dump( wp_get_object_terms( get_the_ID(), 'category', array( 'fields' => 'tt_ids' ) ) ); 
    88}}}