O%zAH>٥nI wүtyXb24KmWnͺxQg_` >Qe͏LqP̗3.6 G ׺Wr' 4;c!'wTMM/+؛r_ǟ$ k"ۦP5B̳H8ׅ|e)j7Ȗl&1&ݷT^jJz5r؇KA]ExEZy5yEmS!k0$NGW7|d,#H$Xiͺ} Պ:TOUHG|˝!M) _ ?t E;o@aoCAZ߆fE|S=s~J҄WSrj&tg Ivh<ߪK5,,OxMղ(TW~%6Çf. &?ۯ ((T:p9> EnWG&nFR ܧۡk tdmJƥfC*=ohL|kΒRh *<73ΒQ=JX"+|vz +FݖI$*(Uy:C35У!k?IC>EM%weT Xgx΃.贴.IfGڪ;V~_3 9_mzfu"ֽC$`b]>84[;kPYB+ydez+y\j~H Ii79 ɭ,ݩ{wj+p_0:ĺ ,in|hﬤRW~&~MJ}( T+d᪚ \q*l6e 茑-LT%|V&ǢQ>0 tN<:+ݽ.]"40*U[h^OhBFD^7jÇT)yi% y(ΐݵ2 Vݜ {ؒj(@{!^"σ [R6qs*֛۸(<:3; _B~+ա!;v> 1)W [ 5*8>P$8YB7:M7 G% xS&5WN#b.#@jܜXO5eLfS~mX5v/.as/oPa0鶝:4XDQ|',,w  3VoU8Tc"1xw)Nw DQ 8ae\B7Kfm*t"h~Vq7QE^eg(UzA/1Hz-CE/.w.rv*{)7c? uCEsKoup'] ); unset( $posttypes['acf-field'] ); // return return $posttypes; } /* * tabify_add_meta_boxes * * This function creates dummy metaboxes on the tabify edit screen page * * @type function * @date 9/10/12 * @since 3.5.1 * * @param $post_type (string) * @return n/a */ function tabify_add_meta_boxes( $post_type ) { // get field groups $field_groups = acf_get_field_groups(); if( !empty($field_groups) ) { foreach( $field_groups as $field_group ) { // vars $id = "acf-{$field_group['key']}"; $title = 'ACF: ' . $field_group['title']; // add meta box add_meta_box( $id, $title, '__return_true', $post_type ); } } } /* * pts_allowed_pages * * This filter will prevent PTS from running on the field group page! * * @type function * @date 25/09/2014 * @since 5.0.0 * * @param $pages (array) * @return $pages */ function pts_allowed_pages( $pages ) { // vars $post_type = ''; // check $_GET becuase it is too early to use functions / global vars if( !empty($_GET['post_type']) ) { $post_type = $_GET['post_type']; } elseif( !empty($_GET['post']) ) { $post_type = get_post_type( $_GET['post'] ); } // check post type if( $post_type == 'acf-field-group' ) { $pages = array(); } // return return $pages; } } new acf_third_party(); endif; ?>
Warning: Cannot modify header information - headers already sent by (output started at /homepages/16/d368980331/htdocs/wp-content/plugins/advanced-custom-fields-pro/core/third_party.php:2) in /homepages/16/d368980331/htdocs/wp-includes/pluggable.php on line 1224