Themify Portfolio Post icon
Content & Editing

Themify Portfolio Post hooks reference

  • By themifyme
  • v1.3.4 New
  • Updated

Themify Portfolio Post 1.3.4 has 4 actions and 16 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Themify Portfolio Post fires an action
add_action( 'themify_metabox_enqueue_assets', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Themify Portfolio Post is about to use
add_filter( 'themify_portfolio_post_args', function( $post_type ) {
	// Change $post_type here.
	return $post_type;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • includes/system.php line 97
    /**
     * Filter post type parameters sent to register_post_type()
     */
    apply_filters( 'themify_portfolio_post_args', $post_type );
  • includes/themify-metabox/includes/themify-metabox-core.php line 340 · used in 4 places
    do_action( "themify_metabox/field/{$field['type']}", compact( 'meta_box', 'meta_value', 'toggle_class', 'data_hide', 'ext_attr', 'post_id', 'themify_custom_panel_nonce' ) );
  • includes/system.php line 75 · used in 2 places
    apply_filters( 'themify_portfolio_rewrite', 'project' );
  • includes/themify-metabox/includes/themify-field-types.php line 978
    apply_filters( 'themify_assignments_post_types', get_post_types( array( 'public' => true ) ) );
  • includes/themify-metabox/includes/themify-field-types.php line 988
    apply_filters( 'themify_assignments_taxonomies', get_taxonomies( array( 'public' => true ) ) );
  • includes/themify-metabox/includes/themify-metabox-core.php line 110
    apply_filters( 'themify_do_metaboxes', array() );
  • includes/themify/img.php line 149
    apply_filters( 'themify_image_script_source_size', 'large' );
  • includes/themify-metabox/includes/themify-metabox-core.php line 526
    do_action( 'themify_metabox_enqueue_assets' );
  • includes/themify-metabox/includes/themify-metabox-utils.php line 25
    apply_filters( 'themify_metabox_get_field_names', array_unique( $list ), $arr );
  • includes/themify-metabox/includes/themify-metabox-core.php line 133
    apply_filters( 'themify_metabox_panel_options', $meta_box_result );
  • includes/themify-metabox/includes/themify-metabox-core.php line 502
    do_action( 'themify_metabox_register_assets' );
  • includes/themify-metabox/includes/themify-metabox-core.php line 383
    do_action( "themify_metabox/field/{$toggle_field['type']}", compact( 'meta_box', 'meta_value', 'toggle_class', 'data_hide', 'ext_attr', 'post_id', 'themify_custom_panel_nonce' ) );
  • includes/themify-metabox/includes/themify-metabox-core.php line 111
    apply_filters( "themify_metabox/fields/{$meta_box}", $themify_write_panels, $post_type );
  • includes/themify-metabox/includes/themify-term-fields.php line 163
    apply_filters( "themify_metabox/taxonomy/{$taxonomy}/fields", array() );
  • includes/themify-metabox/includes/themify-user-fields.php line 37
    apply_filters( 'themify_metabox/user/fields', array() );
  • includes/themify-metabox/includes/themify-metabox-core.php line 74
    apply_filters( 'themify_metaboxes', array( 'themify-meta-boxes' => array( 'id' => 'themify-meta-boxes', 'title' => __( 'Themify Custom Panel', 'themify' ), 'context' => 'normal', 'priority' => 'high', 'screen' => $types, ), ) );
  • includes/admin.php line 44
    apply_filters( 'themify_portfolio_post_options', $portfolio_options );
  • includes/system.php line 71
    apply_filters( 'themify_portfolio_post_rewrite', array('post'=>'project','tax'=>'portfolio-category') );
  • includes/system.php line 181
    apply_filters( 'themify_portfolio_posts_query', $args, $atts );
  • includes/functions.php line 86
    apply_filters( 'tpp_post_title_tag', $tag );

Generated from Themify Portfolio Post's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: