Filter the output buffer. Themes can leverage this hook to add custom markup on next page load.
jetpack_amp_infinite_output
jetpack_amp_infinite_outputjetpack_amp_infinite_outputFilter the output buffer. Themes can leverage this hook to add custom markup on next page load.
jetpack_amp_infinite_separatorAMP infinite scroll separator.
jetpack_amp_infinite_older_postsAMP infinite scroll older posts markup.
jetpack_amp_infinite_next_page_dataThe next page settings. An array containing: – title => The title to be featured on the browser tab. – url => The URL of next page. – image => The image URL. A required AMP setting, not in use currently. Themes are welcome to leverage.
jetpack_amp_infinite_footersGet the theme footers.
infinite_scroll_render_callbacksGather renderer callbacks. These will be called in order and allow multiple callbacks to be queued. Once content is found, no futher callbacks will run.
infinite_scroll_posts_per_pageFilter the number of posts per page.
infinite_scroll_is_last_batchOverride whether or not this is the last batch for a request
infinite_scroll_got_infinityFilter the parameter used to check if Infinite Scroll has been triggered.
jetpack_infinite_scroll_load_scripts_and_stylesAllow plugins to enqueue all Infinite Scroll scripts and styles on singular pages as well.