Support » Plugin: GDPR Cookie Consent Banner » Add filter for more information Page ID

  • Plugin Contributor Ben Huson

    (@husobj)


    Currently, when a “More Info” page is set in the admin, for the frontend there is some code which alters the ID for the Polylang plugin.

    Also, this seems to be the only setting that is not filterable.

    I would suggest making the ID filterable on the frontend, that way it can be adjust for other multilingual plugins such as WPML or for another purpose if required

    $page_id = apply_filters( 'ctcc_more_info_page', $page_id );

  • The topic ‘Add filter for more information Page ID’ is closed to new replies.