Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8782295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:32:02+00:00 2026-06-13T20:32:02+00:00

I am attempting to write a custom function to send the header and footer

  • 0

I am attempting to write a custom function to send the header and footer areas of the the pages to a .net web service anytime the content of the header or footer area is updated. I have worked out the WordPress action hook for when the menus are updated,
add_action( 'wp_update_nav_menu', 'write_html' );
, but I need to also call my function when the header or footer sections are updated via pagelines. We have custom sections that are being used for the header and footer areas.

I have looked through the Action hooks here: http://api.pagelines.com/hooks
and watched the hook tutorial here: http://www.pagelines.com/docs/base-child-theme

The video is talking more about Filters than Actions (using WordPress terminology) and the list of Actions in the api page doesn’t show anything that might relate to updating a specific section.

So I have 2 questions:

  1. Is there a pre-exisiting Action hook for when a custom section’s site wide settings are updated such as through PageLines > Page Options and selecting the section?

  2. If not, how can a custom Action hook be added to a section’s update?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T20:32:03+00:00Added an answer on June 13, 2026 at 8:32 pm

    Alrighty, found the right hook. Since it was working when menus were updated with add_action( 'wp_update_nav_menu', 'write_html' ); all that was needed was a hook for when PageLines > Page Options were updated. The proper hook for that turns out to be add_action( 'update_option_pagelines-special', 'write_html' );

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been attempting recently to write a web service that returns a custom
I am attempting to write out an Excel file from an ASP.NET web server
I am attempting to write a MarkupExtension to support the process of instantiating custom
i'm attempting to write the result of the $x = [System.Net.Dns]::GetHostAddresses($name) statement into my
I'm attempting to write my first custom Cocoa Framework and I want to expose
I'm attempting to write a custom MarkupExtension to make my life easier by giving
I am attempting to write a 'User Control' in WinForms .NET (not ASP.NET). The
I am attempting to write a custom control. I want to allow its user
I'm attempting to write a custom widget and I want to use existing UI
I'm attempting to write my very own custom parser (in C#) for (X)HTML5 and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.