Keep up to date with Gravity PDF

  • This field is for validation purposes and should be left unchanged.
This is the legacy Gravity PDF v4 documentation which is NOT supported. Go to the latest documentation.
Jump To Section

Description #description

This hook allows you to output content at the bottom of the PDF Tools Settings tab. Keep in mind our System Status notice uses this hook on priority 10, so you can choose to place your content before or after this block by changing your action’s priority. Also, the Uninstaller has a priority of 5.

Usage #usage

This snippet shows you how you can include a message after the Tools Settings form, but before the Uninstaller:

add_action( 'gfpdf_post_tools_settings_page', function() {
    /* We set the action priority to 3 so this content will be included before the Uninstaller */
        <h3><?php _e( 'Custom Section', 'prefix-text-domain' ); ?></h3>
        <p><?php _e( 'This is the message for this new section. You should include any additional functionality here...', 'prefix-text-domain' ); ?></p>
}, 3 );

If you want to include content after the Uninstaller and before the System Status make sure your priority is between 5 and 10:

add_action( 'gfpdf_post_tools_settings_page', function() { }, 7 );

And to display content after the System status use a priority over 10:

add_action( 'gfpdf_post_tools_settings_page', function() { }, 15 );

Source Code #source-code

This action is located in /src/view/html/Settings/tools.php.

Signup for the latest Gravity PDF news, tips and updates

  • This field is for validation purposes and should be left unchanged.
Scroll To Top

Choose your currency:

Converted prices are for reference only - all orders are charged in $ Australian Dollars ($) AUD.
  • AUDAustralian Dollars ($)
  • USDUS Dollars ($)
  • CADCanadian Dollars ($)
  • EUREuros (€)
  • GBPPound Sterling (£)
  • NZDNew Zealand Dollar ($)
  • JPYJapanese Yen (¥)