This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDb Standard Search Input Placeholder | |
* Description: shows how to set a placeholder value in the standard list search input | |
*/ | |
add_filter( 'pdb-search_input_attributes', 'xnau_set_search_input_attributes' ); | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB Return to Results Shortcode | |
* Description: adds a shortcode that displays a ling to return to the previous search result | |
* Author: xnau webdesign | |
* Version: 1.3 | |
*/ | |
class PDb_Search_Return_Link { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB Generate Member ID | |
* Description: provides a unique ID for new signups and new records in Participants Database | |
* Version: 2.2 | |
*/ | |
class pdb_generate_member_id { | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDb Email Conditionals | |
* Description: shows how to add additional conditional checks to an email template | |
*/ | |
class PDb_Email_Template_Conditionals { | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB Override Email Limit | |
* Description: sets a new outgoing email limit | |
* Version: 1.0 | |
*/ | |
// overrides the session email limit with a new limit | |
add_action( 'pdb-mass_email_session_limit', function($limit){ | |
$limit = 500; // this is your new limit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB Custom Image Filename | |
* Description: names an uploaded image file according to other values in the record | |
* Version: 1.0 | |
*/ | |
// attach the handler function to the filter | |
add_action( 'pdb-file_upload_filename', 'pdb_set_custom_filename', 10, 3 ); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB Contact Form Additions | |
* Description: adds additional fields to the Participants Database contact form | |
* Version: 2.1 | |
*/ | |
add_action( 'pdbcff-before_message_area', 'pdbcfa_add_fields' ); | |
/** | |
* inserts additional fields into the contact form |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB WP User Shortcodes | |
* Description: defines several shortcodes for use with Participants Database and WordPress Users | |
*/ | |
class PDb_User_List_Shortcodes { | |
/** | |
* @var string name of the user ID field |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: PDB Check Link Field for Duplicate | |
* Description: make sure a new record does not match the link of an existing record | |
* Version: 1.1 | |
*/ | |
// this filter checks the submission | |
add_action( 'pdb-incoming_record_match_object', 'xnau_check_for_link_match' ); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @version 1.0 | |
* | |
* template for participants list shortcode output | |
* | |
* this demonstrates how to add a click-to-sort header to the list | |
* | |
*/ |