Make WordPress Core

Ticket #52085: 52085.diff

File 52085.diff, 469 bytes (added by audrasjb, 3 years ago)

Implementation proposal: add an after_privacy_settings_sections action hook

  • src/wp-admin/options-privacy.php

    diff --git a/src/wp-admin/options-privacy.php b/src/wp-admin/options-privacy.php
    index 437b3eb68a..b2d8999398 100644
    a b require_once ABSPATH . 'wp-admin/admin-header.php'; 
    249249                        </td>
    250250                </tr>
    251251        </table>
     252
     253        <?php
     254        /**
     255         * Triggered after the Privacy settings sections.
     256         *
     257         * @since 5.7.0
     258         */
     259        do_action( 'after_privacy_settings_sections' );
     260        ?>
     261
    252262</div>
    253263<?php
    254264