Brainstorm_Update_Astra_Addon::license_message_astra_addon( string $content, string $purchase_url )
Add Message for license.
Description
Parameters
- $content
-
(string) (Required) get the link content.
- $purchase_url
-
(string) (Required) purchase_url.
Return
(string) output message.
Source
File: class-brainstorm-update-astra-addon.php
public function license_message_astra_addon( $content, $purchase_url ) { $purchase_url = apply_filters( 'astra_addon_licence_url', $purchase_url ); $message = "<p><a target='_blank' href='" . esc_url( $purchase_url ) . "'>" . esc_html__( 'Get the license >>', 'astra-addon' ) . '</a></p>'; return $message; }
Expand full source code Collapse full source code View on Trac