Code Snippets

Collections of all of our Hook & Filters, Pods Templates and Template Examples

Override Field Description with pods_form_ui_comment_text Filter

Posted in , ,

And how this looks on the end screen: Contributed by: TysonIt

How to Replace the More Fields Meta Box Title

Posted in , ,

Replacing “More Fields” for the Pods Meta Box

Update Post Title with values from other Fields and Make Post Title Uneditable

Posted in , ,

This example includes an override for the post title being created by other custom fields and also adds a filter to save that change on update.

Custom Settings Page Output Using Pods API

Posted in ,


Force get_post_meta to Return an ID and not an Array for Image Fields

Posted in , , , ,

There are situations where you need to have get_post_meta return just the ID and not an array of Image ID’s from your image fields. The addition of pods_no_conflict_on(‘post-type’) will correct the behavior of this function call.

Displaying Custom Settings with get_option

Posted in , ,