Plugin Directory

Changeset 1089415


Ignore:
Timestamp:
02/13/2015 09:23:07 PM (11 years ago)
Author:
somatic
Message:

more examples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • somatic-framework/trunk/doc/meta-config-example.php

    r788427 r1089415  
    4646            array(
    4747                'name' => 'Actor Name',                                     // text displayed alongside field input
    48                 'id' => 'actors',                                           // used when saving, should be the name of the post_meta (key) or taxonomy (exact slug) we're manipulating
     48                'id' => 'actors',                                           // used when saving, should be the name of the post_meta (key) or taxonomy (exact slug) we're manipulating. NOTE: if using with upload-files, never put a hyphen in the ID string!
    4949                'type' => 'select',                                         // field type (usually input: text, area, select, checkbox, radio), sometimes output (posts, other readonly data)
    5050                'data' => 'taxonomy',                                       // what kind of data is being retrieved and saved for this post (meta [wp_postmeta table], core [wp_posts table], taxonomy, user, p2p, attachment, comment)
Note: See TracChangeset for help on using the changeset viewer.