Created
August 31, 2020 16:40
-
-
Save pbearne/5ee7fc14232952983db6f26ff046897b to your computer and use it in GitHub Desktop.
Filter example matador_applicant_candidate_privacy_consent_object
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
add_filter( 'matador_applicant_candidate_privacy_consent_object', function( $privacy ) { | |
// Description is 'textBlock1' | |
$privacy->textBlock1 = $description; // action and IP adress | |
// Purpose is 'text1' | |
$privacy->text1 = esc_html__( 'Recruiting', 'matador-jobs' ); | |
// Legal Basis is 'text2' | |
$privacy->text2 = esc_html__( 'Legal Obligation', 'matador-jobs' ); | |
// Source is 'text3' | |
$privacy->text3 = esc_html__( 'Web Response', 'matador-jobs' ); | |
return $privacy; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment