Dev Docs
  • Disciple.Tools Technical Documentation
  • Theme Core
    • API - Posts
      • List of Endpoints
      • Fields Format
      • Get Post
      • Create Post
      • Update Post
      • Post Comments
      • Post Activity
      • List Query
      • Global Search
      • Posts in Typeaheads
      • Post-Sharing
      • Get Following
      • Settings
    • API - Other
      • Users
      • Locations
      • Settings
    • Hooks
      • Record Page Hooks
      • API-Hooks
      • Public settings
      • Adding menu navigation links
    • Customization
      • Fields
      • Custom Post Types
      • Post Type Modules
      • Adding Fields and Tiles.
    • Authentication
      • JWT-Authentication-for-the-mobile-app
      • Site-to-Site-Link
      • Easy-Example
    • Permissions
    • Roles and Permissions
    • Database Tables
      • Activity Table
    • Disciple.Tools Translation
    • Revisions
      • v1.0.0-dev-changes
      • v1.0
  • Hosting
    • 404 Errors on new install
    • CRON
    • Hosting on WPEngine
    • Backups
    • Single Site or MultiSite
  • Disciple.Tools Development Setup
    • LocalWP
    • Mobile App Setup
    • Unit Tests
    • Cypress Tests
    • D.T on Docker Setup
    • Gulp - CSS and JS
  • Code Contribution
    • Theme Contribution Guidelines
    • How to Correctly Contribute to the Disciple Tools Repository
    • How to Translate Your Plugin
  • Style Guide
  • Disciple.Tools Code of Conduct
Powered by GitBook
On this page

Was this helpful?

Edit on Git
  1. Theme Core
  2. Hooks

Record Page Hooks

dt_record_picture Filter Filter for adding an avatar or image for a record. Expects a URL as an output to be used in an <img tag. A provided image will be used instead of the default icon. Parameters 3: string $picture, string $post_type, string $post_id

dt_record_icon Filter Filter for changing the icon for a record. Expects a class name pertaining to an icon in https://zurb.com/playground/foundation-icon-fonts-3 Parameters 3: string $icon, string $post_type, array $post_id

dt_record_top_full_with Action Section for full width content above the details and comment tiles Parameters 2: string $post_type, array $post

dt_record_top_above_details Action Section above the details tile. Parameters 2: string $post_type, array $post

dt_details_additional_section Action Action for displaying content within a tile Parameters 2: string $tile_key, string $post_type

dt_details_additional_tiles Filter Declare other tiles to display. Parameters 2: array $tiles, string $post_type

PreviousHooksNextAPI-Hooks

Last updated 3 years ago

Was this helpful?