Documentation

Actions reference


totalpoll/actions/bootstrap-ajax#
/**
 * Fires when AJAX handlers are bootstrapped.
 *
 * @since 4.0.0
 * @order 7
 */
totalpoll/actions/admin/entries/export/columns#
/**
 * Fires after setup essential columns and before populating data. Useful for define new columns.
 *
 * @param Spreadsheet $export  Spreadsheet object.
 * @param array       $fields  Array of poll's form fields.
 * @param array       $entries Array of entries.
 *
 * @since 4.0.0
 */
totalpoll/actions/admin/log/export/columns#
/**
 * Fires after setup essential columns and before populating data. Useful for define new columns.
 *
 * @param Spreadsheet $export  Spreadsheet object.
 * @param array       $entries Array of log entries.
 *
 * @since 4.0.0
 */
totalpoll/actions/bootstrap-admin#
/**
 * Fires when admin is bootstrapped.
 *
 * @since 4.0.0
 * @order 10
 */
totalpoll/actions/admin/entries/filters#
/**
 * Fires after filter inputs in entries browser interface.
 *
 * @since 4.0.0
 */
totalpoll/actions/admin/log/filters#
/**
 * Fires after filter inputs in log browser interface.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/options/tabs/content#
/**
 * Fires before options tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/options/tabs/content#
/**
 * Fires after options tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/choices/type/audio#
/**
 * Fires before audio choice content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/choices/type/audio#
/**
 * Fires after audio choice content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/choices/type/html#
/**
 * Fires before html choice content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/choices/type/html#
/**
 * Fires after html choice content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/choices/type/image#
/**
 * Fires before image choice content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/choices/type/image#
/**
 * Fires after image choice content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/choices/type/text#
/**
 * Fires after text choice content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/choices/type/video#
/**
 * Fires after video choice content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/choices/toolbar/preview#
/**
 * Fires before choice preview toolbar.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/preview/text#
/**
 * Fires after choice preview toolbar text.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/preview/type#
/**
 * Fires after choice preview toolbar type.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/choices/toolbar/preview#
/**
 * Fires after choice preview toolbar.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/choices/toolbar/votes#
/**
 * Fires before choice votes input.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/choices/toolbar/votes#
/**
 * Fires after choice votes input.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/choices/toolbar/visibility#
/**
 * Fires before choice visibility toggle.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/choices/toolbar/visibility#
/**
 * Fires after choice visibility toggle.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/choices/toolbar/delete#
/**
 * Fires before choice delete button.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/choices/toolbar/delete#
/**
 * Fires before choice delete button.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/choices/content#
/**
 * Fires before choice content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/choices/content#
/**
 * Fires after choice content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/choices#
/**
 * Fires before choices.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/1#
/**
 * Fires at the 1st position of toolbar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/2#
/**
 * Fires at the 2nd position of toolbar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/3#
/**
 * Fires at the 3rd position of toolbar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/4#
/**
 * Fires at the 4th position of toolbar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/5#
/**
 * Fires at the 5th position of toolbar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/6#
/**
 * Fires at the 6th position of toolbar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/7#
/**
 * Fires at the 7th position of toolbar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/8#
/**
 * Fires at the 8th position of toolbar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/9#
/**
 * Fires at the 9th position of toolbar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/10#
/**
 * Fires at the 10th position of toolbar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/choices/toolbar/11#
/**
 * Fires at the 11th position of toolbar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/choices#
/**
 * Fires after choices.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/design/tabs#
/**
 * Fires before design settings tabs.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/design/tabs#
/**
 * Fires after design settings tabs.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/design/tabs/content/{$designTabId}#
/**
 * Fires before design settings tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/design/tabs/content/{$designTabId}#
/**
 * Fires after design settings tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/design/tabs/content/{$designTabId}-{$subtabId}#
/**
 * Fires before design settings tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/design/tabs/content/{$designTabId}-{$subtabId}#
/**
 * Fires after design settings tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor#
/**
 * Fires before poll editor content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/tabs/content#
/**
 * Fires before poll editor tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/tabs/content#
/**
 * Fires after poll editor tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor#
/**
 * Fires after poll editor content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/checkbox#
/**
 * Fires before checkbox field content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/checkbox/basic#
/**
 * Fires before checkbox field basic tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/checkbox/basic#
/**
 * Fires after checkbox field basic tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/checkbox/validations#
/**
 * Fires after checkbox field validations tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/checkbox/html#
/**
 * Fires before checkbox field html tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/checkbox/html#
/**
 * Fires after checkbox field html tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/checkbox#
/**
 * Fires after checkbox field content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/radio#
/**
 * Fires before radio field content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/radio/basic#
/**
 * Fires before radio field basic tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/radio/basic#
/**
 * Fires after radio field basic tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/radio/validations#
/**
 * Fires before radio field validations tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/radio/validations#
/**
 * Fires after radio field validations tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/radio/html#
/**
 * Fires before radio field html tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/radio/html#
/**
 * Fires after radio field html tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/radio#
/**
 * Fires after radio field content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/select#
/**
 * Fires before select field content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/select/basic#
/**
 * Fires before select field basic tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/select/basic#
/**
 * Fires after select field basic tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/select/validations#
/**
 * Fires before select field validations tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/select/validations#
/**
 * Fires after select field validations tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/select/html#
/**
 * Fires before select field html tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/select/html#
/**
 * Fires after select field html tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/select#
/**
 * Fires after select field content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/text#
/**
 * Fires before text field content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/text/basic#
/**
 * Fires before text field basic tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/text/basic#
/**
 * Fires after text field basic tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/text/validations#
/**
 * Fires before text field validations tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/text/validations#
/**
 * Fires after text field validations tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/text/html#
/**
 * Fires before text field html tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/text/html#
/**
 * Fires after text field html tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/text#
/**
 * Fires after text field content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/textarea#
/**
 * Fires before textarea field content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/textarea/basic#
/**
 * Fires before textarea field basic tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/textarea/basic#
/**
 * Fires after textarea field basic tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/textarea/validations#
/**
 * Fires before textarea field validations tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/textarea/validations#
/**
 * Fires after textarea field validations tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/type/textarea/html#
/**
 * Fires before textarea field html tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/textarea/html#
/**
 * Fires after textarea field html tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/type/textarea#
/**
 * Fires after textarea field content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/toolbar/preview#
/**
 * Fires before field preview toolbar.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/fields/toolbar/preview/text#
/**
 * Fires after field preview toolbar text.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/fields/toolbar/preview/type#
/**
 * Fires after field preview toolbar type.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/toolbar/preview#
/**
 * Fires after field preview toolbar.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/toolbar/delete#
/**
 * Fires before field delete button.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/toolbar/delete#
/**
 * Fires after field delete button.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/tabs#
/**
 * Fires before field tabs content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/tabs#
/**
 * Fires after field tabs content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields#
/**
 * Fires before fields.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/presets#
/**
 * Fires after field presets.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/toolbar#
/**
 * Fires before fields toolbar.
 *
 * @since 4.0.0
 */
totalpoll/actions/action/editor/fields/toolbar#
/**
 * Fires at the 6th position of toolbar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/toolbar#
/**
 * Fires after fields toolbar.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/fields/types#
/**
 * Fires before field types.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields/types#
/**
 * Fires after field types.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/fields#
/**
 * Fires after fields.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/integration/tabs/content/{$integrationTabId}#
/**
 * Fires before integration tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/integration/tabs/content/{$integrationTabId}#
/**
 * Fires after integration tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/questions/content#
/**
 * Fires before question content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/questions/content#
/**
 * Fires after question content.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/questions/settings#
/**
 * Fires before question settings.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/questions/settings#
/**
 * Fires after question settings.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/questions/choices#
/**
 * Fires before question choices.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/questions/choices#
/**
 * Fires after question choices.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/questions#
/**
 * Fires before questions.
 *
 * @since 4.0.0
 */
totalpoll/actions/admin/editor/questions/sidebar/buttons#
/**
 * Fires after questions sidebar buttons.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/questions#
/**
 * Fires after questions.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/settings/tabs#
/**
 * Fires before settings tabs.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/settings/tabs#
/**
 * Fires after settings tabs.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/admin/editor/settings/tabs/content#
/**
 * Fires before settings sub tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/admin/editor/settings/tabs/content#
/**
 * Fires after settings sub tab content.
 *
 * @since 4.0.0
 */
totalpoll/actions/bootstrap#
/**
 * Fires when TotalPoll complete the bootstrap phase.
 *
 * @since 4.0.0
 * @order 4
 */
totalpoll/actions/before/request#
/**
 * Fires before processing a request.
 *
 * @param string $method HTTP method.
 * @param string $action Action name.
 *
 * @since 4.0.0
 */
totalpoll/actions/request#
/**
 * Fires when TotalPoll receives a request.
 *
 * @param string $method HTTP method.
 * @param string $action Action name.
 *
 * @since 4.0.0
 */
totalpoll/actions/request/{$method}/{$action}#
/**
 * Fires when TotalPoll receives a request (specific HTTP method and action name).
 *
 * @param string $method HTTP method.
 * @param string $action Action name.
 *
 * @since 4.0.0
 */
totalpoll/actions/request/{$action}#
/**
 * Fires when TotalPoll receives a request (specific action name).
 *
 * @param string $method HTTP method.
 * @param string $action Action name.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/request#
/**
 * Fires after processing a request.
 *
 * @param string $method HTTP method.
 * @param string $action Action name.
 *
 * @since 4.0.0
 */
totalpoll/actions/ajax-request#
/**
 * Fires when TotalPoll receives an AJAX request.
 *
 * @param string $method HTTP method.
 * @param string $action Action name.
 *
 * @since 4.0.0
 */
totalpoll/actions/ajax-request/{$method}/{$action}#
/**
 * Fires when TotalPoll receives an AJAX request (specific HTTP method and action name).
 *
 * @param string $method HTTP method.
 * @param string $action Action name.
 *
 * @since 4.0.0
 */
totalpoll/actions/ajax-request/{$action}#
/**
 * Fires when TotalPoll receives an AJAX request (specific action name).
 *
 * @param string $method HTTP method.
 * @param string $action Action name.
 *
 * @since 4.0.0
 */
totalpoll/actions/poll/after/head#
/**
 * Fires after printing poll meta tags.
 *
 * @param Model $poll Poll object.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/bootstrap#
/**
 * Fires before bootstrapping TotalPoll.
 *
 * @param Plugin $this Plugin instance.
 *
 * @since 4.0.0
 * @order 3
 */
totalpoll/actions/after/bootstrap#
/**
 * Fires after bootstrapping TotalPoll.
 *
 * @param Plugin $this Plugin instance.
 *
 * @since 4.0.0
 * @order 5
 */
totalpoll/actions/before/bootstrap-ajax#
/**
 * Fires before bootstrapping AJAX handler.
 *
 * @param Plugin $this Plugin instance.
 *
 * @since 4.0.0
 * @order 6
 */
totalpoll/actions/after/bootstrap-ajax#
/**
 * Fires after bootstrapping AJAX handler.
 *
 * @param Plugin $this Plugin instance.
 *
 * @since 4.0.0
 * @order 8
 */
totalpoll/actions/before/bootstrap-admin#
/**
 * Fires before bootstrapping admin.
 *
 * @param Plugin $this Plugin instance.
 *
 * @since 4.0.0
 * @order 9
 */
totalpoll/actions/after/bootstrap-admin#
/**
 * Fires after bootstrapping admin.
 *
 * @param Plugin $this Plugin instance.
 *
 * @since 4.0.0
 * @order 11
 */
totalpoll/actions/before/bootstrap-extensions#
/**
 * Fires before bootstrapping extensions.
 *
 * @param Plugin $this Plugin instance.
 *
 * @since 4.0.0
 * @order 1
 */
totalpoll/actions/after/bootstrap-extensions#
/**
 * Fires after bootstrapping extensions.
 *
 * @param Plugin $this Plugin instance.
 *
 * @since 4.0.0
 * @order 2
 */
totalpoll/actions/before/poll/command/vote#
/**
 * Fires before processing vote request.
 *
 * @param array                           $userChoices Submitted choices (questionUID => choiceUID[]).
 * @param \TotalPoll\Contracts\Poll\Model $poll        Poll model object.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/poll/command/vote#
/**
 * Fires after processing vote request successfully.
 *
 * @param array                           $choicesUids   Submitted choices UIDs and votes (uid => choiceUID, votes => castedVotes).
 * @param array                           $customChoices Custom choices submitted through form (other field).
 * @param \TotalPoll\Contracts\Poll\Model $poll          Poll model object.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/poll/command/log#
/**
 * Fires before saving the log entry.
 *
 * @param \TotalPoll\Contracts\Poll\Model $poll Poll model object.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/poll/command/log#
/**
 * Fires after saving the log entry.
 *
 * @param \TotalPoll\Contracts\Log\Model  $log  Log entry model object.
 * @param \TotalPoll\Contracts\Poll\Model $poll Poll model object.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/poll/command/save-log#
/**
 * Fires before saving the form entry.
 *
 * @param \TotalPoll\Contracts\Poll\Model $poll Poll model object.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/poll/command/save-entry#
/**
 * Fires after saving the form entry.
 *
 * @param \TotalPoll\Contracts\Entry\Model $entry Form entry model object.
 * @param \TotalPoll\Contracts\Poll\Model  $poll  Poll model object.
 *
 * @since 4.0.0
 */
totalpoll/actions/before/poll/command/notify#
/**
 * Fires before sending notifications.
 *
 * @param  Model $poll     WebHook settings.
 * @param  array $settings Notifications settings.
 * @param  array $log      Log entry.
 *
 * @since 4.0.0
 */
totalpoll/actions/after/poll/command/notify#
/**
 * Fires after sending notifications.
 *
 * @param \TotalPoll\Contracts\Poll\Model $poll Poll model object.
 *
 * @since 4.0.0
 */
totalpoll/actions/poll/limitations#
/**
 * Fires after limitations setup.
 *
 * @param \TotalPoll\Contracts\Poll\Model $poll Poll model object.
 *
 * @since 4.0.0
 */
totalpoll/actions/poll/restrictions#
/**
 * Fires after restrictions setup.
 *
 * @param \TotalPoll\Contracts\Poll\Model $poll          Poll model object.
 * @param array                           $frequencyArgs Frequency arguments.
 *
 * @since 4.0.0
 */
totalpoll/actions/poll/screen#
/**
 * Fires after first screen setup.
 *
 * @param \TotalPoll\Contracts\Poll\Model $poll Poll model object.
 *
 * @since 4.0.0
 */
totalpoll/actions/poll/setup#
/**
 * Fires after poll model setup is completed.
 *
 * @param \TotalPoll\Contracts\Poll\Model $poll Poll model object.
 *
 * @since 4.0.0
 */