Form_List_Page_Handler::maybe_adjust_row_actions( array $actions, WP_Post $post )

Adjusts row actions if conditions are met.

Description

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

Changelog
Version Description
1.0.0 Introduced.