Ruven Themes: Portfolio icon
Content & Editing

Ruven Themes: Portfolio hooks reference

  • By Ruven
  • v1.0
  • Updated

Ruven Themes: Portfolio 1.0 has 0 actions and 4 filters, read directly from its source code on Nov 19, 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
// Change a value Ruven Themes: Portfolio is about to use
add_filter( 'rt_portfolio_args', function( $value ) {
	// Change $value here.
	return $value;
}, 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

  • ruven-themes-portfolio.php line 86
    apply_filters( 'rt_portfolio_args', array( 'labels' => $labels, 'public' => true, 'show_in_nav_menus' => false, 'exclude_from_search' => false, 'supports' => array( 'title', 'editor', 'post-formats', 'thumbnail', 'revisions', 'excerpt', 'comments', 'author', 'custom-fields', ), 'rewrite' => array('slug' => _x('portfolio-item', 'URL slug (no spaces or special characters)', 'ruventhemes')), 'menu_position' => 5, 'has_archive' => tr... );
  • ruven-themes-portfolio.php line 72
    apply_filters( 'rt_portfolio_labels', array( 'name' => _x('Portfolio', 'post type name', 'ruventhemes'), 'singular_name' => _x('Portfolio Item', 'singular post type name', 'ruventhemes'), 'add_new' => _x('Add New', 'portfolio', 'ruventhemes'), 'add_new_item' => __('Add New Portfolio Item', 'ruventhemes'), 'edit_item' => __('Edit Portfolio Item', 'ruventhemes'), 'new_item' => __('New Portfolio Item', 'ruventhemes'), 'view_item' => _... );
  • ruven-themes-portfolio.php line 136
    apply_filters( 'rt_portfolio_tax_args', array( 'labels' => $labels, 'public' => true, 'query_var' => true, 'hierarchical' => true, 'show_admin_column' => true, 'rewrite' => array( 'slug' => _x('portfolio-type', 'URL slug (no spaces or special characters)', 'ruventhemes'), 'hierarchical' => true ), ) );
  • ruven-themes-portfolio.php line 117
    apply_filters( 'rt_portfolio_tax_labels', array( 'name' => _x('Portfolio Types', 'post type name', 'ruventhemes'), 'singular_name' => _x('Portfolio Type', 'singular post type name', 'ruventhemes'), 'menu_name' => __('Types', 'ruventhemes' ), 'edit_item' => __('Edit Portfolio Type', 'ruventhemes'), 'update_item' => __('Update Portfolio Type', 'ruventhemes'), 'add_new_item' => __('Add New Portfolio Type', 'ruventhemes'), 'new_item_name' ... );

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

Done for you

Rather have it built for you?

Tell us what should change and we’ll write and test the code using these hooks.

Plugin customisation

from $149

New features or changed behaviour, without editing the plugin’s files.

  • Built as a companion plugin, so updates never wipe it
  • Exact quote before we start
  • Tested on staging, then deployed

Typical turnaround: 3–7 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Can't find the right hook?

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