Title: Create a predefined lists
Last modified: January 16, 2023

---

# Create a predefined lists

 *  Resolved [jordiwordpress](https://wordpress.org/support/users/jordiwordpress/)
 * (@jordiwordpress)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/create-a-predefined-lists/)
 * Is it possible create my own predefined lists?
 * thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/create-a-predefined-lists/#post-16379966)
 * Yes, there is an action for this in [classes/fields/pick.php](https://github.com/pods-framework/pods/blob/8bf10de8462a2cfc9ed36c76efdf437720d157f5/classes/fields/pick.php#L740-L747).
 * For example:
 *     ```wp-block-code
       <?php
   
       add_action(
       	'pods_form_ui_field_pick_related_objects_predefined',
       	function(){
       		PodsField_Pick::$related_objects['pokemon'] = array(
       			'label'         => __( 'Pokémon', 'pods' ),
       			'group'         => __( 'Predefined Lists', 'pods' ),
       			'simple'        => true,
       			'data_callback' => 'predefined_list_pokemon_data',
       		);
       	}
       );
   
       function predefined_list_pokemon_data( $name = null, $value = null, $options = null, $pod = null, $id = null ){
       	return [
       		'Bulbasoar',
       		'Charmander',
       		'Squirtle',
       		'Mew',
       		'Mewtwo',
       	];
       }
       ```
   
 *  Thread Starter [jordiwordpress](https://wordpress.org/support/users/jordiwordpress/)
 * (@jordiwordpress)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/create-a-predefined-lists/#post-16382550)
 * Thanks a lot

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Create a predefined lists’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jordiwordpress](https://wordpress.org/support/users/jordiwordpress/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/create-a-predefined-lists/#post-16382550)
 * Status: resolved