cft_
cft_
Appears in: custom-field-template.2.4, custom-field-template.2.4.3, custom-field-template.2.4.4, custom-field-template.2.4.5, custom-field-template.2.4.7, custom-field-template.2.4.8, custom-field-template.2.4.9, custom-field-template.2.5, custom-field-template.2.5.1, custom-field-template.2.5.2, custom-field-template.2.5.3, custom-field-template.2.5.4, custom-field-template.2.5.6, custom-field-template.2.5.7, custom-field-template.2.5.8, custom-field-template.2.5.9, custom-field-template.2.6.1, custom-field-template.2.6.5, custom-field-template.2.7.4
Hook Type: filter
Displaying hooks found in version: custom-field-template.2.7.4apply_filters('cft_') is found 4 times:
- /custom-field-template.php line 3445
foreach( $save_value as $title => $values ) : unset($delete); if ( empty( $values ) ) break; if ( count($values) == 1 ) : if ( !add_metadata( 'post', $id, $title, apply_filters('cft_'.rawurlencode($title), $values[0]), true ) ) : if ( count($this->get_post_meta($id, $title, false))>1 ) : delete_metadata( 'post', $id, $title ); add_metadata( 'post', $id, $title, apply_filters('cft_'.rawurlencode($title), $values[0]) ); else : update_metadata( 'post', $id, $title, apply_filters('cft_'.rawurlencode($title), $values[0]) ); endif;
- /custom-field-template.php line 3448
if ( count($values) == 1 ) : if ( !add_metadata( 'post', $id, $title, apply_filters('cft_'.rawurlencode($title), $values[0]), true ) ) : if ( count($this->get_post_meta($id, $title, false))>1 ) : delete_metadata( 'post', $id, $title ); add_metadata( 'post', $id, $title, apply_filters('cft_'.rawurlencode($title), $values[0]) ); else : update_metadata( 'post', $id, $title, apply_filters('cft_'.rawurlencode($title), $values[0]) ); endif; endif; elseif ( count($values) > 1 ) : $tmp = $this->get_post_meta( $id, $title, false );
- /custom-field-template.php line 3450
if ( count($this->get_post_meta($id, $title, false))>1 ) : delete_metadata( 'post', $id, $title ); add_metadata( 'post', $id, $title, apply_filters('cft_'.rawurlencode($title), $values[0]) ); else : update_metadata( 'post', $id, $title, apply_filters('cft_'.rawurlencode($title), $values[0]) ); endif; endif; elseif ( count($values) > 1 ) : $tmp = $this->get_post_meta( $id, $title, false ); if ( $tmp ) delete_metadata( 'post', $id, $title ); foreach($values as $val)
- /custom-field-template.php line 3457
elseif ( count($values) > 1 ) : $tmp = $this->get_post_meta( $id, $title, false ); if ( $tmp ) delete_metadata( 'post', $id, $title ); foreach($values as $val) add_metadata( 'post', $id, $title, apply_filters('cft_'.rawurlencode($title), $val) ); endif; endforeach; if ( !empty($tags_input) && is_array($tags_input) ) : foreach ( $tags_input as $tags_key => $tags_value ) : if ( class_exists('SimpleTags') && $tags_key == 'post_tag' ) :