acf/field_group/prefill_title

acf/field_group/prefill_title

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.3.6

apply_filters('acf/field_group/prefill_title') is found 1 times:

  • /includes/admin/views/global/form-top.php line 28
    	 * @since 6.1.5
    	 *
    	 * @param string $acf_prefilled_title A string to define the prefilled title for a post type or taxonomy.
    	 */
    	$acf_prefilled_title = (string) apply_filters( 'acf/field_group/prefill_title', $acf_prefilled_title );
    
    	if ( $acf_use_post_type && ! empty( $acf_use_post_type['labels']['singular_name'] ) ) {
    		$acf_prefilled_title = sprintf( $acf_prefilled_title, $acf_use_post_type['labels']['singular_name'] );
    	} elseif ( $acf_use_taxonomy && ! empty( $acf_use_taxonomy['labels']['singular_name'] ) ) {
    		$acf_prefilled_title = sprintf( $acf_prefilled_title, $acf_use_taxonomy['labels']['singular_name'] );
    	} elseif ( $acf_use_options_page && ! empty( $acf_use_options_page['page_title'] ) ) {