Skip to content

Instantly share code, notes, and snippets.

View BoweFrankema's full-sized avatar

Bowe Frankema BoweFrankema

View GitHub Profile
<?php
function job_listing_activity_args() {
if ( ! bp_is_active( 'activity' ) ) {
return;
}
add_post_type_support( 'job_listing', 'buddypress-activity' );
bp_activity_set_post_type_tracking_args( 'job_listing', array(
@SeanChDavis
SeanChDavis / cfm-receipt.php
Created August 21, 2015 17:23
EDD Checkout Fields Manager Receipt Values
<?php // DO NOT COPY THIS LINE
function sd_cfm_receipt_field( $payment ) {
?>
<tr>
<td><strong><?php _e( 'Custom Field', 'edd' ); ?>:</strong></td>
<td><?php echo get_post_meta( $payment->ID, 'custom_field', true ); ?></td>
</tr>
<?php