EDD_PDF_Invoices implements Registerable, Service

Integrates the plugin with the EDD PDF Invoices plugin.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Service

Table of Contents

get_template()  : string
Retrieves the user selected template.
pdf_template()  : mixed
PDF template callback.
register()  : mixed
{@inheritdoc}
register_template_action()  : mixed
Registers the EDD PDF Invoices template action
get_style()  : array<string|int, mixed>
Gets the style for the templates

Methods

get_template()

Retrieves the user selected template.

public get_template() : string
Return values
string

pdf_template()

PDF template callback.

public pdf_template(mixed $eddpdfi_pdf, mixed $eddpdfi_payment, mixed $eddpdfi_payment_meta, mixed $eddpdfi_buyer_info, mixed $eddpdfi_payment_gateway, mixed $eddpdfi_payment_method, mixed $address_line_2_line_height, mixed $company_name, mixed $eddpdfi_payment_date, mixed $eddpdfi_payment_status) : mixed
Parameters
$eddpdfi_pdf : mixed
$eddpdfi_payment : mixed
$eddpdfi_payment_meta : mixed
$eddpdfi_buyer_info : mixed
$eddpdfi_payment_gateway : mixed
$eddpdfi_payment_method : mixed
$address_line_2_line_height : mixed
$company_name : mixed
$eddpdfi_payment_date : mixed
$eddpdfi_payment_status : mixed
Return values
mixed

register()

{@inheritdoc}

public register() : mixed
Return values
mixed

register_template_action()

Registers the EDD PDF Invoices template action

public register_template_action() : mixed
Return values
mixed

get_style()

Gets the style for the templates

private get_style() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results