# give/4.16.9/src/License/Actions/AddPlatformFeeAmountToSystemInfo.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.9. 39 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/License/Actions/AddPlatformFeeAmountToSystemInfo.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/License/Actions/AddPlatformFeeAmountToSystemInfo.php
- Modified: 2025-05-21T20:18:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.9/code/src/License/Actions/AddPlatformFeeAmountToSystemInfo.php#L10-L20`.

```php
<?php

namespace Give\License\Actions;

use Give\License\Repositories\LicenseRepository;

/**
 * @since 4.3.0
 */
class AddPlatformFeeAmountToSystemInfo
{
    /**
     * Callback for `give_add_system_info_configuration` that adds the platform fee amount to the system info table.
     * @since 4.3.0
     */
    public function __invoke($settings)
    {
        /**
         * @var LicenseRepository $licenseRepository
         */
        $licenseRepository = give(LicenseRepository::class);
        $label = __('Platform Fee Amount', 'give');

        ?>
        <tr>
            <td data-export-label="<?php echo $label; ?>">
                <?php echo $label; ?>:
            </td>
            <td class="help">
                <?php echo Give()->tooltips->render_help(__('The GiveWP Platform Fee Percentage.', 'give')); ?>
            </td>
            <td>
                <?php echo $licenseRepository->getPlatformFeePercentage() . '%'; ?>
            </td>
        </tr>
        <?php
    }
}

```
