Skip to content

Instantly share code, notes, and snippets.

@mikejolley
Created May 24, 2015 22:47
Show Gist options
  • Save mikejolley/ddd499016fdd384229ed to your computer and use it in GitHub Desktop.
Save mikejolley/ddd499016fdd384229ed to your computer and use it in GitHub Desktop.
Move apply with XING message
add_action( 'init', 'move_xing_message' );
function move_xing_message() {
if ( has_action( 'job_content_start', array( $GLOBALS['wp-job-manager-apply-with-xing'], 'apply_result' ) ) {
remove_action( 'job_content_start', array( $GLOBALS['wp-job-manager-apply-with-xing'], 'apply_result' ) );
add_action( 'SOME_OTHER_HOOK', array( $GLOBALS['wp-job-manager-apply-with-xing'], 'apply_result' ) );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment