Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

Hook actionAdminMetaAfterWriteRobotsFile

Informations

Hook actionAdminMetaAfterWriteRobotsFile
Locations
BO
Type action
Origin core
Aliases

Located in

Origin File
core classes/Tools.php

Parameters details

    <?php
    array(
      'rb_data' => (array) File data,
      'write_fd' => &(resource) File handle
    );

Call of the Hook in the origin file

Hook::exec('actionAdminMetaAfterWriteRobotsFile', [
                'rb_data' => $robots_content,
                'write_fd' => &$write_fd,
            ])