• Resolved Kalyan Brata Das

    (@ayanizeco)


    Hi,

    Getting a bit fancy, I wish to some write/pass some info on the Permalinks settings page (options-permalink.php). I am looking for the writing hook which I can target and echo the content on that page. Is there any such hook/filter available which I can call and echo content on the permalinks settings page?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Venugopal Clarion

    (@venugopalclarion)

    Using below hook add the information on Permalinks settings page

    add_action( 'admin_init', 'custom_inform_permalink' );
    function custom_inform_permalink(){
    add_settings_section( 'vv_setting_section',	__( 'This is heading'), 'testing_function','permalink');
    
    }
    function testing_function(){
    	echo "This new information in permalink page";
    }

    Add your information it will display on Permalinks setting page

    Thread Starter Kalyan Brata Das

    (@ayanizeco)

    Great solution. Thank you very much. I thought of using admin_notices & global $pagenow & options-permalink.php but yours seems to be much better to add a setting area..

    Thanks once again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hook for Permalinks Settings Page’ is closed to new replies.