Skip to content

Configuring the Custom Tile Sample

Chris Chasm edited this page Feb 3, 2021 · 8 revisions

Home

The starter plugin contains a sample custom tile. Explore the code here.

The heart of creating a tile is in these actions.

add_filter( 'dt_details_additional_tiles', [ $this, "dt_details_additional_tiles" ], 10, 2 );
add_filter( "dt_custom_fields_settings", [ $this, "dt_custom_fields" ], 1, 2 );
add_action( "dt_details_additional_section", [ $this, "dt_add_section" ], 30, 2 );

Clone this wiki locally