<?php

/**
 * Delete the property value from the database.
 *
 * @param string $type
 * @param string $slug
 * @param int    $post_id
 */
function papi_action_delete_value( $type, $slug, $post_id = 0 ) {
	do_action( 'papi/delete_value/' . $type, $slug, $post_id );
}

/**
 * Fire the 'papi/include' action, where plugins should include files.
 */
function papi_action_include() {
	do_action( 'papi/include' );
}

<?php

/**
 * Delete the property value from the database.
 *
 * @param string $type
 * @param string $slug
 * @param int    $post_id
 */
function papi_action_delete_value( $type, $slug, $post_id = 0 ) {
	do_action( 'papi/delete_value/' . $type, $slug, $post_id );
}

/**
 * Fire the 'papi/include' action, where plugins should include files.
 */
function papi_action_include() {
	did_action( 'papi/include' ) || do_action( 'papi/include' );
}

Fix so include action is only run if did_action returns false
Fix so include action is only run if did_action returns false
