Support » Plugin: Auto Menu From Pages » How to Auto Sync

  • Resolved steverob44

    (@steverob44)


    You state:
    This plugin has the ability to automatically sync your menu after pages are modified, however the feature is turned off by default as it can create significant overhead. To turn it on, use the provided amfp_auto_sync_menu filter and set it to true, like so:

    add_filter( ‘amfp_auto_sync_menu’, ‘__return_true’ );

    I have no idea what this means.
    Where do I find this filter so I can edit it? Thanks

    https://wordpress.org/plugins/auto-menu-from-pages/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mickey Kay

    (@mcguive7)

    Hi Steve,

    This would require you to edit your theme’s functions.php file, or create a custom plugin, which might be a bit more of an in-depth topic that will require some reading on your part. Sorry it’s not more obvious, however the plugin currently does not offer a settings page to control this.

    Thanks – that’s pretty straightforward then. I just needed to know where to paste the function.

    The autosync doesn’t seem to work even though I put that line of code in my functions.php file and even tried changing it in the plugin itself. Did a new update of wordpress break it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Auto Sync’ is closed to new replies.