30         add_filter( 
'gravityview/fields/custom/content_before', array( $this, 
'fix_entry_id_for_custom_content_shortcode' ), 11, 2 );
    37         if ( ! $context->entry->is_multi() ) {
    41         if ( ! class_exists( 
'GPDFAPI' ) ) {
    45         if ( ! $shortcodes = GPDFAPI::get_mvc_class( 
'Model_Shortcodes' ) ) {
    50         $table = GFFormsModel::get_meta_table_name();
    52         foreach ( $shortcodes->get_shortcode_information( 
'gravitypdf', 
$content ) as $shortcode ) {
    54             $form_id = $wpdb->get_var( $wpdb->prepare( 
"SELECT form_id FROM $table WHERE display_meta LIKE %s", 
'%"' . $wpdb->esc_like( $shortcode[
'attr'][
'id'] ) . 
'"%' ) );
    57             $replace = str_replace(
    58                 sprintf( 
'entry="%d"', $shortcode[
'attr'][
'entry'] ),
    59                 sprintf( 
'entry="%d"', $context->entry[ 
$form_id ][
'id'] ),
    60                 $shortcode[
'shortcode']
 new GravityView_Plugin_Hooks_Gravity_PDF
if(empty( $field_settings['content'])) $content
fix_entry_id_for_custom_content_shortcode( $content, $context)
if(empty( $created_by)) $form_id
Abstract class that makes it easy for plugins and themes to register no-conflict scripts and styles...