WP_Posts_List_Table::handle_row_actions( WP_Post $item, string $column_name, string $primary ): string
- Since
- 4.3.0, 5.9.0
- Source
wp-admin/includes/class-wp-posts-list-table.php:1473
Compatibility
- WordPress
- since 5.9.0
- PHP
- 7.4–8.6-dev
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0), and compiles on PHP 7.4 through 8.6-dev.
Parameters
$itemWP_Post- Post being acted upon.
$column_namestring- Current column name.
$primarystring- Primary column name.
Return value
string- Row actions output for posts, or an empty string if the current column is not the primary column.
Performance profile
How much work a call to WP_Posts_List_Table::handle_row_actions() does, and what it touches: the algorithmic scaling, the Zend instruction count per call across PHP versions, the hooks it hands control to, and the core code that calls it. Measured from the compiled opcodes, not a stopwatch, so every number is identical on any machine running the same PHP version, and every function in core is ranked by cost.
- Cost class
- Heavy
- Scaling
- Constant
- Instructions
- 6–250
- Plugin surface
- 3 hooks
- Called by
- 1
Reaches the database via get_post().
No loop in the body: the same number of instructions runs whatever you pass in.
Executed per call on PHP 8.5, depending on the branch taken. The body compiles to 317.
Third-party callbacks on 'quick_edit_enabled_for_post_type', 'page_row_actions', 'post_row_actions' run inside this call, and their cost is not bounded by anything here.
1 place in core call this, so the cost is paid more often than your own code shows.
What it touches
- hookthird-party callbacks
apply_filters()called directly - querycontent query
get_post()one call below WP_Posts_List_Table::handle_row_actions() - optionoption read or write
get_option()one call below WP_Posts_List_Table::handle_row_actions()
Further down the call graph this can also reach cache, serialize and transient. Those are the worst case, several calls deep and usually down an error path, not what a normal call pays.
What one call costs · 109 distinct outcomes
One number would be a lie: the work depends on which branch runs. These are every distinct cost WP_Posts_List_Table::handle_row_actions() can have, taken from its control-flow graph on PHP 8.5.
| When | Instructions | Calls it makes |
|---|---|---|
$primary !== false | 6 | none |
$primary === false | 54–74 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false | 77–97 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && is_post_type_viewable() | 87–101 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && is_post_type_viewable() | 88–102 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 91–103 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 92–102 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false | 93–113 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 101–111 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && is_post_type_viewable() | 110–124 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && is_post_type_viewable() | 111–125 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 114–126 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
97 further outcomes, up to 250 instructions
$primary === false && current_user_can() | 115–125 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false | 116–136 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false | 116–133 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 119–131 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 124–130 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 124–134 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 125–129 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 125–131 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 126–130 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && is_post_type_viewable() | 126–140 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && is_post_type_viewable() | 127–141 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 128–140 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 130–142 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 131–141 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 134–138 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 135–139 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false | 139–156 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 140–150 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 142–154 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 147–153 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 148–152 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 148–154 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 149–153 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && is_post_type_viewable() | 149–163 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && is_post_type_viewable() | 149–160 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && is_post_type_viewable() | 150–164 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && is_post_type_viewable() | 150–161 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 151–163 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 152–158 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 153–165 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 153–162 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 153–159 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 154–164 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 154–161 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 157–161 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 158–170 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 158–162 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 161–167 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 162–168 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 163–169 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 163–173 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 163–170 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 164–168 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 164–170 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 165–169 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 167–179 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && is_post_type_viewable() | 172–183 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 173–177 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && is_post_type_viewable() | 173–184 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 174–178 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 175–181 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 176–185 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 176–182 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 177–184 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 181–193 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 181–190 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 184–190 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 185–191 | get_post_type_object(), current_user_can(), _draft_or_post_title(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 186–192 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 186–189 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 186–193 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 187–191 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 187–188 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 187–193 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 187–190 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 188–192 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 188–189 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 190–202 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 190–199 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 191–197 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 192–198 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 196–200 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 196–197 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 197–201 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 197–198 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 200–206 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 201–207 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 204–213 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 209–212 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 210–211 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 210–213 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 211–212 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() | 213–222 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 214–220 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 214–217 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 215–221 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 215–218 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 219–220 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 220–221 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 223–229 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 223–226 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 224–230 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 224–227 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 237–240 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 238–241 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), get_delete_post_link(), __(), sprintf(), esc_attr(), _x(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 246–249 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_permalink(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
$primary === false && current_user_can() && is_post_type_viewable() | 247–250 | get_post_type_object(), current_user_can(), _draft_or_post_title(), get_edit_post_link(), __(), sprintf(), esc_attr(), __(), apply_filters(), __(), sprintf(), esc_attr(), __(), current_user_can(), sprintf(), admin_url(), wp_nonce_url(), __(), sprintf(), esc_attr(), __(), get_delete_post_link(), __(), sprintf(), esc_attr(), __(), is_post_type_viewable(), get_preview_post_link(), esc_url(), __(), sprintf(), esc_attr(), __(), __(), sprintf(), esc_attr(), __(), is_post_type_hierarchical(), apply_filters(), ->row_actions() |
Across PHP versions
| PHP | Compiled | Executed | Branches | Notes |
|---|---|---|---|---|
| 8.6-dev | 317 | 6–250 | 16 | |
| 8.5 | 317 | 6–250 | 16 | |
| 8.4 | 317 | 6–250 | 16 | 7 more instructions than PHP 8.3 |
| 8.3 | 310 | 6–245 | 16 | |
| 8.2 | 310 | 6–245 | 16 | |
| 8.1 | 310 | 6–245 | 16 | |
| 7.4 | 310 | 6–245 | 16 |
An instruction is not a fixed amount of time, so a matching count is not necessarily the same speed; what it rules out is a difference in the work itself.
Hooks and filters fired · 3
3 hooks fire while WP_Posts_List_Table::handle_row_actions() runs, in this order:
- apply_filters( quick_edit_enabled_for_post_type )filterline 1503 (+30 into the body)
Filters whether Quick Edit should be enabled for the given post type.
- apply_filters( page_row_actions )filterline 1592 (+119 into the body)
Filters the array of row action links on the Pages list table.
- apply_filters( post_row_actions )filterline 1607 (+134 into the body)
Filters the array of row action links on the Posts list table.
Uses · 17
- get_post_type_object()Retrieves a post type object by name.
- current_user_can()Returns whether the current user has the specified capability.
- _draft_or_post_title()Gets the post title.
- get_edit_post_link()Retrieves the edit post link for post.
- esc_attr()Escaping for HTML attributes.
- __()Retrieves the translation of $text.
- apply_filters()Calls the callback functions that have been added to a filter hook.
- wp_nonce_url()Retrieves URL with nonce added to URL query.
- admin_url()Retrieves the URL to the admin area for the current site.
- get_delete_post_link()Retrieves the delete posts link for post.
- _x()Retrieves translated string with gettext context.
- is_post_type_viewable()Determines whether a post type is considered "viewable".
Show all 17
- get_preview_post_link()Retrieves the URL used for the post preview.
- esc_url()Checks and cleans a URL.
- get_permalink()Retrieves the full permalink for the current post or post ID.
- is_post_type_hierarchical()Determines whether the post type is hierarchical.
- WP_Posts_List_Table::row_actions()
Used by · 1
Source code
protected function handle_row_actions( $item, $column_name, $primary ) { if ( $primary !== $column_name ) { return ''; } // Restores the more descriptive, specific name for use within this method. $post = $item; $post_type_object = get_post_type_object( $post->post_type ); $can_edit_post = current_user_can( 'edit_post', $post->ID ); $actions = array(); $title = _draft_or_post_title(); if ( $can_edit_post && 'trash' !== $post->post_status ) { $actions['edit'] = sprintf( '<a href="%s" aria-label="%s">%s</a>', get_edit_post_link( $post->ID ), /* translators: %s: Post title. */ esc_attr( sprintf( __( 'Edit “%s”' ), $title ) ), __( 'Edit' ) ); /** * Filters whether Quick Edit should be enabled for the given post type. * * @since 6.4.0 * * @param bool $enable Whether to enable the Quick Edit functionality. Default true. * @param string $post_type Post type name. */ $quick_edit_enabled = apply_filters( 'quick_edit_enabled_for_post_type', true, $post->post_type ); if ( $quick_edit_enabled && 'wp_block' !== $post->post_type ) { $actions['inline hide-if-no-js'] = sprintf( '<button type="button" class="button-link editinline" aria-label="%s" aria-expanded="false">%s</button>', /* translators: %s: Post title. */ esc_attr( sprintf( __( 'Quick edit “%s” inline' ), $title ) ), __( 'Quick Edit' ) ); } } if ( current_user_can( 'delete_post', $post->ID ) ) { if ( 'trash' === $post->post_status ) { $actions['untrash'] = sprintf( '<a href="%s" aria-label="%s">%s</a>', wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&action=untrash', $post->ID ) ), 'untrash-post_' . $post->ID ), /* translators: %s: Post title. */ esc_attr( sprintf( __( 'Restore “%s” from the Trash' ), $title ) ), __( 'Restore' ) ); } elseif ( EMPTY_TRASH_DAYS ) { $actions['trash'] = sprintf( '<a href="%s" class="submitdelete" aria-label="%s">%s</a>', get_delete_post_link( $post->ID ), /* translators: %s: Post title. */ esc_attr( sprintf( __( 'Move “%s” to the Trash' ), $title ) ), _x( 'Trash', 'verb' ) ); } if ( 'trash' === $post->post_status || ! EMPTY_TRASH_DAYS ) { $actions['delete'] = sprintf( '<a href="%s" class="submitdelete" aria-label="%s">%s</a>', get_delete_post_link( $post->ID, '', true ), /* translators: %s: Post title. */ esc_attr( sprintf( __( 'Delete “%s” permanently' ), $title ) ), __( 'Delete Permanently' ) ); } } if ( is_post_type_viewable( $post_type_object ) ) { if ( in_array( $post->post_status, array( 'pending', 'draft', 'future' ), true ) ) { if ( $can_edit_post ) { $preview_link = get_preview_post_link( $post ); $actions['view'] = sprintf( '<a href="%s" rel="bookmark" aria-label="%s">%s</a>', esc_url( $preview_link ), /* translators: %s: Post title. */Changelog
Introduced in 4.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$post to $item to match parent class for PHP 8 named parameter support.from the docblockAbout this page
- Parsed data
- Generated from the wordpress-develop 6.8.8 tag, from
src/wp-admin/includes/class-wp-posts-list-table.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.