You appear to be a bot. Output may be restricted
Description
Load the requested page for the field
Usage
$array = bw_navi_fetch_field_content( $field, $atts );
Parameters
- $field
- ( string ) required – the field name e.g. _oik_rq_hooks
- $atts
- ( array ) required – parameters
Returns
array the selected pageSource
File name: oik/shortcodes/oik-navi.phpLines:
1 to 10 of 10
function bw_navi_fetch_field_content( $field, $atts ) { $id = bw_array_get( $atts, "id", bw_global_post_id() ); $values = get_post_meta( $id, $field, false ); bw_trace2( $values, "values" ); $field_type = bw_query_field_type( $field ); add_filter( "bw_navi_filter_textarea", "bw_navi_filter_textarea", 10, 3 ); add_filter( "bw_navi_filter_sctextarea", "bw_navi_filter_textarea", 10, 3 ); $content_array = apply_filters( "bw_navi_filter_${field_type}", $values, $field, $field_type ); return( $content_array ); }View on GitHub View on Trac