acf/shortcode/prevent_access filter-hookACF 1.0

Usage

add_filter( 'acf/shortcode/prevent_access', 'wp_kama_acf_shortcode_prevent_access_filter', 10, 6 );

/**
 * Function for `acf/shortcode/prevent_access` filter-hook.
 * 
 * @param  $false                
 * @param  $atts                 
 * @param  $decoded_post_id_id   
 * @param  $decoded_post_id_type 
 * @param  $field_type           
 * @param  $field                
 *
 * @return 
 */
function wp_kama_acf_shortcode_prevent_access_filter( $false, $atts, $decoded_post_id_id, $decoded_post_id_type, $field_type, $field ){
	// filter...
	return $false;
}
$false
-
$atts
-
$decoded_post_id_id
-
$decoded_post_id_type
-
$field_type
-
$field
-

Where the hook is called

acf_shortcode()
acf/shortcode/prevent_access
acf/includes/api/api-template.php 1100
if ( apply_filters( 'acf/shortcode/prevent_access', false, $atts, $decoded_post_id['id'], $decoded_post_id['type'], $field_type, $field ) ) {

Where the hook is used in Advanced Custom Fields PRO

Usage not found.