-
Actions
-
do_action( "gc_{$this->direction}_items", $mapping );
-
Example
-
do_action( 'wp_async_save_post_gc_templates', $post_id, $post );
-
do_action( 'gc_mapping_pre_post_update', $post_data );
-
do_action( 'gc_mapping_pre_post_create', $post_data );
-
do_action( 'wp_async_gc_pull_items', $mapping_post );
-
do_action( 'wp_async_gc_push_items', $mapping_post );
-
do_action( 'gc_sync_items_result', $result, $this );
-
do_action( 'gathercontent_loaded' );
-
Example
-
do_action( 'gathercontent_init', $general );
-
Example
-
do_action( 'gathercontent_field_type_option_underscore_template', $this );
-
do_action( 'gathercontent_field_type_underscore_template', $this );
-
Filters
-
apply_filters( 'gc_prepare_js_update_data_for_posts', $post_updates );
-
apply_filters( 'gathercontent_localized_data', $args );
-
apply_filters( 'gc_admin_notices', $notices );
-
Example
-
apply_filters( 'gathercontent_importer_custom_field_keys', $meta_keys );
-
Example
-
apply_filters( 'gathercontent_importer_custom_field_keys_blacklist', $keys );
-
Example
-
apply_filters( 'gc_media_location_options', $options );
-
Example
-
apply_filters( 'gathercontent_register_field_types_handlers', $this->core_types );
-
Example
-
apply_filters( "gathercontent_importer_section_{$id}", $section, $this );
-
apply_filters( "gathercontent_importer_field_{$this->id}_{$id}", $field, $this );
-
apply_filters( "{$this->option_name}_default_options", $this->options );
-
apply_filters( 'gc_get_element_value', $val, $this->element, $this->item );
-
apply_filters( "gc_can_append_{$field}", $can_append, $this->element, $this->item );
-
apply_filters( 'gc_only_update_if_newer', true );
-
apply_filters( 'gc_media_objects', $attachments, $post_data );
-
apply_filters( 'gc_update_wp_post_data', $post_data, $this );
-
apply_filters( 'gc_new_wp_post_data', $post_data, $this );
-
apply_filters( 'gc_get_element_terms', $terms, $this->element, $this->item );
-
apply_filters( 'gc_sanitize_meta_field', $this->element->value, $this->element, $this->item );
-
apply_filters( 'gc_sanitize_media_field', $this->element->value, $this->element, $this->item );
-
apply_filters( 'gc_content_image', $img, $media, $attach_id, $post_data );
-
apply_filters( 'gc_content_gallery_shortcode', $shortcode, $gallery_ids, $post_data );
-
apply_filters( 'gc_media_replacements', $replacements, $attachments, $post_data );
-
apply_filters( 'gc_replace_attachment_data_on_update', false, $attachment );
-
apply_filters( 'gc_update_gc_config_data', $config, $this );
-
apply_filters( "gc_get_{$post_column}", $value, $this );
-
Example
-
apply_filters( 'gc_field_type_names', $types );
-
Example
-
apply_filters( "gc_template_args_for_{$this->template}", $this->args, $this );
-
Example
-
apply_filters( "gc_prepare_js_data_for_$type", $args, $type, $item );
-
Example
-
apply_filters( 'gathercontent_settings_view_capability', 'publish_pages' );
-
Example