wpseo_llmstxt_filesystem_path

wpseo_llmstxt_filesystem_path

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.25.4

apply_filters('wpseo_llmstxt_filesystem_path') is found 1 times:

  • /src/llms-txt/infrastructure/file/wordpress-file-system-adapter.php line 113

    Warning: Undefined array key 117 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 118 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    		 * Filter: 'wpseo_llmstxt_filesystem_path' - Allows editing the filesystem path of the llmst.txt file to account for server restrictions to the filesystem.
    		 *
    		 * @param string $llms_filesystem_path The filesystem path of the llmst.txt file that defaults to get_home_path() or the $_SERVER['DOCUMENT_ROOT'] if the home path is not writeable.
    		 */
    		$llms_filesystem_path = \apply_filters( 'wpseo_llmstxt_filesystem_path', $llms_filesystem_path );
    
    		return \trailingslashit( $llms_filesystem_path ) . 'llms.txt';
    	}
    }