Adjusts row actions if conditions are met.
Description
See also
Parameters
- $actions
-
(array) (Required) Original row actions.
- $post
-
(WP_Post) (Required) Current post object.
Return
(array) Possibly modified row actions.
Source
File: src/db-objects/forms/form-list-page-handler.php
public function maybe_adjust_row_actions( $actions, $post ) { $form = $this->form_manager->get( $post->ID ); if ( ! $form ) { return $actions;; } return $this->insert_custom_row_actions( $actions, $form ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |